Update app build scripts for new combined repo

Also:

- Replace `install.rdf` with `version` file
- Remove lots of obsolete logic in `prepare_build` (formerly
  `build_xpi`)
This commit is contained in:
Dan Stillman 2023-04-24 04:09:36 -04:00 committed by Dan Stillman
parent 1ab041ef55
commit c55ef8714b
13 changed files with 102 additions and 235 deletions

View file

@ -26,7 +26,6 @@ const copyDirs = [
// list of files from root folder to symlink
const symlinkFiles = [
'chrome.manifest',
'install.rdf',
// React needs to be patched by babel-worker.js, so symlink all files in resource/ except for
// those. Babel transpilation for React is still disabled in .babelrc.
'resource/**/*',
@ -52,7 +51,6 @@ const symlinkFiles = [
'resource/ace/worker-javascript.js',
// Feed *.idl files are for documentation only
'!resource/feeds/*.idl',
'update.rdf',
'!chrome/skin/default/zotero/**/*.scss',
'!resource/citeproc_rs_wasm.js',
// We only need a few Monaco languages
@ -65,6 +63,7 @@ const symlinkFiles = [
'resource/vs/basic-languages/xml/*.js',
'resource/vs/language/typescript/*.js',
'resource/vs/language/json/*.js',
'version',
];