Skip to content

Commit

Permalink
Don't include screenshots, tests in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshire137 committed Jun 5, 2016
1 parent 1d670e6 commit 6ecee9d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Change Log

## Version 0.0.4

- Smaller app size by omitting some unnecessary files.

## Version 0.0.3

- Fixes https://github.com/cheshire137/huxleyfm/issues/33 by showing the current version on the About page.
Expand Down
12 changes: 7 additions & 5 deletions package.json
Expand Up @@ -16,10 +16,10 @@
"postinstall": "if [ ! -f config.json ]; then cp config.json.example config.json; fi",
"start": "electron .",
"build": "npm run-script build-osx",
"build-osx": "if [ -d dist/HuxleyFM-darwin-x64 ]; then rm -r dist/HuxleyFM-darwin-x64; fi && node_modules/electron-packager/cli.js . --out=dist --app-version=$npm_package_version --prune --asar --overwrite --icon=images/icon512.png.icns --appname=HuxleyFM --platform=darwin --arch=all",
"build-windows": "node node_modules\\electron-packager\\cli.js . --out=dist --prune --asar --overwrite --appname=HuxleyFM --platform=win32 --arch=all",
"build-linux": "if [ -d dist/HuxleyFM-linux-ia32 ]; then rm -r dist/HuxleyFM-linux-ia32; fi && if [ -d dist/HuxleyFM-linux-x64 ]; then rm -r dist/HuxleyFM-linux-x64; fi && node_modules/electron-packager/cli.js . --out=dist --app-version=$npm_package_version --prune --asar --overwrite --appname=HuxleyFM --platform=linux --arch=all",
"build-windows-wine": "if [ -d dist/HuxleyFM-win32-ia32 ]; then rm -r dist/HuxleyFM-win32-ia32; fi && if [ -d dist/HuxleyFM-win32-x64 ]; then rm -r dist/HuxleyFM-win32-x64; fi && node_modules/electron-packager/cli.js . --out=dist --app-version=$npm_package_version --prune --asar --overwrite --appname=HuxleyFM --platform=win32 --arch=all"
"build-osx": "if [ -d dist/HuxleyFM-darwin-x64 ]; then rm -r dist/HuxleyFM-darwin-x64; fi && node_modules/electron-packager/cli.js . --out=dist --app-version=$npm_package_version --prune --asar --overwrite --icon=images/icon512.png.icns --appname=HuxleyFM --platform=darwin --arch=all --ignore=screenshots --ignore=test",
"build-windows": "node node_modules\\electron-packager\\cli.js . --out=dist --prune --asar --overwrite --appname=HuxleyFM --platform=win32 --arch=all --ignore=screenshots --ignore=test",
"build-linux": "if [ -d dist/HuxleyFM-linux-ia32 ]; then rm -r dist/HuxleyFM-linux-ia32; fi && if [ -d dist/HuxleyFM-linux-x64 ]; then rm -r dist/HuxleyFM-linux-x64; fi && node_modules/electron-packager/cli.js . --out=dist --app-version=$npm_package_version --prune --asar --overwrite --appname=HuxleyFM --platform=linux --arch=all --ignore=screenshots --ignore=test",
"build-windows-wine": "if [ -d dist/HuxleyFM-win32-ia32 ]; then rm -r dist/HuxleyFM-win32-ia32; fi && if [ -d dist/HuxleyFM-win32-x64 ]; then rm -r dist/HuxleyFM-win32-x64; fi && node_modules/electron-packager/cli.js . --out=dist --app-version=$npm_package_version --prune --asar --overwrite --appname=HuxleyFM --platform=win32 --arch=all --ignore=screenshots --ignore=test"
},
"files": [
"main.js",
Expand Down Expand Up @@ -58,7 +58,9 @@
"electron",
"somafm",
"radio",
"desktop"
"desktop",
"music",
"chromecast"
],
"dependencies": {
"castv2-client": "^1.1.1",
Expand Down

0 comments on commit 6ecee9d

Please sign in to comment.