mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 05:38: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)'`
|
VERSION=`node -e 'process.stdout.write(require("./package").version)'`
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
rm -rf ./app/node_modules
|
rm -rf ./app/node_modules
|
||||||
rm -rf dist
|
rm -rf ./dist/HyperTerm-darwin-x64
|
||||||
|
rm -rf ./dist/
|
||||||
mkdir dist
|
mkdir dist
|
||||||
./install.sh
|
./install.sh
|
||||||
|
npm run lint
|
||||||
cd app
|
cd app
|
||||||
npm install
|
npm install
|
||||||
|
npm run lint
|
||||||
npm run build
|
npm run build
|
||||||
cd -
|
cd -
|
||||||
cp app/index.html dist/
|
cp app/index.html dist/
|
||||||
cp -r app/dist 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