mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
lint upon packaging and then --prune from electron build
This commit is contained in:
parent
89e7b7263a
commit
e8518e1495
1 changed files with 5 additions and 2 deletions
|
|
@ -2,13 +2,16 @@
|
|||
VERSION=`node -e 'process.stdout.write(require("./package").version)'`
|
||||
rm -rf node_modules
|
||||
rm -rf ./app/node_modules
|
||||
rm -rf dist
|
||||
rm -rf ./dist/HyperTerm-darwin-x64
|
||||
rm -rf ./dist/
|
||||
mkdir dist
|
||||
./install.sh
|
||||
npm run lint
|
||||
cd app
|
||||
npm install
|
||||
npm run lint
|
||||
npm run build
|
||||
cd -
|
||||
cp app/index.html dist/
|
||||
cp -r app/dist dist/
|
||||
electron-packager ./ --platform=darwin --out=dist --arch=x64 --app-bundle-id="co.zeit.hyperterm" --app-version="$VERSION" --osx-sign --icon=icon.icns --ignore=app
|
||||
electron-packager ./ --platform=darwin --out=dist --arch=x64 --app-bundle-id="co.zeit.hyperterm" --app-version="$VERSION" --osx-sign --icon=icon.icns --prune --ignore=app
|
||||
|
|
|
|||
Loading…
Reference in a new issue