From e51a2f41937a08d3a4667b6242a8d013026b863b Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Fri, 29 Nov 2019 00:12:31 +0100 Subject: [PATCH] fix build config --- package.json | 4 +++- webpack.config.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3c44b6e..032b351 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,12 @@ "build-chrome": "cross-env NODE_ENV=production BROWSER=chrome webpack --hide-modules", "build-edge": "cross-env NODE_ENV=production BROWSER=edge webpack --hide-modules", "build:dev": "cross-env NODE_ENV=development BROWSER=firefox webpack --hide-modules", + "build-nightly": "cross-env NODE_ENV=development BROWSER=firefox CHANNEL=nightly webpack --hide-modules", + "build-nightly-chrome": "cross-env NODE_ENV=development BROWSER=chrome CHANNEL=nightly webpack --hide-modules", + "build-nightly-all": "./setup-env.sh; rm /dist-zip/*; npm run build-nightly; node scripts/build-zip.js ff; npm run build-nightly-chrome; node scripts/build-zip.js chrome; web-ext sign", "build-chrome:dev": "cross-env NODE_ENV=development BROWSER=chrome webpack --hide-modules", "build-edge:dev": "cross-env NODE_ENV=development BROWSER=edge webpack --hide-modules", "build-all": "rm ./dist-zip/uw-amo-source.zip; mv ./dist-zip/*.zip ./dist-zip/old/; npm run build; node scripts/build-zip.js ff; npm run build-chrome; node scripts/build-zip.js chrome; ./scripts/prepare-amo-source.sh", - "build-nightly": "./build-nightly.sh", "build-zip": "node scripts/build-zip.js", "watch": "npm run build -- --watch", "watch-chrome": "npm run build-chrome -- --watch", diff --git a/webpack.config.js b/webpack.config.js index c0a44ee..a653115 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -86,7 +86,7 @@ const config = { if (process.env.CHANNEL === 'nightly') { jsonContent.name = "Ultrawidify - nightly"; - jsonContent.description = "NIGHTLY BUILD OF ULTRAWIDIFY -- FOR TESTING ONLY."; + jsonContent.description = "FOR TESTING ONLY -- THIS BUILD USES ONLY THE FRESHEST COMMITS FROM GITHUB AND MAY THEREFORE BE COMPLETELY BROKEN"; // version numbers for nightly builds: YYMM.DD.BUILD_NUMBER jsonContent.version = `${new Date()