Skip to content

Commit

Permalink
Cleaner separation of build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdemey committed Oct 26, 2015
1 parent 97dadab commit 8c42ca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ module.exports = function(grunt) {

// Default task(s).
grunt.registerTask('default', ['env:dev' ,'browserify:dev', 'sass:dev', 'watch']);
grunt.registerTask('build', ['env:dist', 'clean:dist', 'browserify:dist', 'sass:dist', 'electron']);
grunt.registerTask('build', ['build-osx']);
grunt.registerTask('build-osx', ['env:dist', 'clean:dist', 'browserify:dist', 'sass:dist', 'electron:osx']);
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"start": "grunt",
"build-osx": "rm -rf dist && grunt electron:osx && cp ./cumulus.icns dist/Cumulus.app/Contents/Resources/atom.icns"
"build-osx": "grunt build:osx && cp ./cumulus.icns dist/Cumulus.app/Contents/Resources/atom.icns"
},
"devDependencies": {
"browserify": "^10.0.0",
Expand Down

0 comments on commit 8c42ca3

Please sign in to comment.