Merge pull request #268 from frankcalise/master

Fixed build chrome not working on Windows due to rm command not existing
This commit is contained in:
Brian Vaughn
2019-05-12 07:43:19 -07:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -140,6 +140,7 @@
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.0",
"request-promise": "^4.2.4",
"rimraf": "^2.6.3",
"scheduler": "^0.0.0-6da04b5d8",
"semver": "^5.5.1",
"style-loader": "^0.23.1",
+2 -1
View File
@@ -6,6 +6,7 @@ const { join } = require('path');
const rp = require('request-promise');
const convert = require('xml-js');
const build = require('../shared/build');
const rimraf = require('rimraf');
const main = async () => {
const manifestVersion = await rp(
@@ -29,7 +30,7 @@ const main = async () => {
execSync('crx pack ./unpacked -o ReactDevTools.crx -p ../../../../key.pem', {
cwd,
});
execSync('rm packed.zip', { cwd });
rimraf.sync(join(cwd, 'packed.zip'));
console.log(chalk.green('\nThe Chrome extension has been built!'));
console.log(chalk.green('You can test this build by running:'));