Skip to content

Commit

Permalink
fix script to make releases
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 7, 2017
1 parent eba7f52 commit 7ed33ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/node_modules
/npm-debug.log
npm-debug.log
/app.asar
/typings
/bower_components
/main/**/*.js
/main/**/*.js.map
/renderer/**/*.js
/renderer/**/*.js.map
/test/**/*.js
/app
/dist
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ npm-debug.log
/Guardfile
/tslint.json
/scripts
/app
/dist
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"@types/webdriverio": "^4.8.6",
"bower": "^1.8.2",
"chai": "^4.1.2",
"electron-packager": "^9.1.0",
"mocha": "^4.0.1",
"npm-run-all": "^4.1.1",
"spectron": "^3.7.2",
Expand Down
6 changes: 3 additions & 3 deletions scripts/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ function prepare-app() {
fi
mkdir app

npm run build:release
npm run lint
npm run build

cp -R bin main renderer resources runtime package.json bower.json app/
cp -R bin main renderer resources runtime package.json bower.json bower_components app/
cd app/

npm install --production
npm uninstall electron
npm prune
../node_modules/.bin/bower install
cd -
}

Expand Down

0 comments on commit 7ed33ea

Please sign in to comment.