Skip to content

Commit

Permalink
Make sure to ignore the dist directory when building
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Jun 2, 2017
1 parent b15f536 commit e991025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"start": "electron .",
"build": "npm run build:osx",
"build:osx": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=gitnews-menubar.icns --prune=true --out=dist",
"build:osx": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=gitnews-menubar.icns --prune=true --ignore='^/dist$' --out=dist",
"package": "npm run package:osx",
"package:osx": "hdiutil create -format UDZO -srcfolder dist/Gitnews-darwin-x64/Gitnews.app dist/Gitnews_Mac.dmg",
"test": "mocha tests"
Expand Down

0 comments on commit e991025

Please sign in to comment.