Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dani Guardiola committed Aug 7, 2015
1 parent 325da99 commit 3d69a3f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ module.exports = function(grunt) {
"bin/view/timer.html": "bin/view/timer.html"
}
}
},
nwjs: {
options: {
platforms: ["win", "osx", "linux"],
buildDir: "nwjs" // Where the build version of my NW.js app is saved
},
src: ["bin"] // Your NW.js app
}
});

Expand All @@ -106,10 +113,13 @@ module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-contrib-cssmin");
grunt.loadNpmTasks("grunt-exec");
grunt.loadNpmTasks("grunt-minify-html");
grunt.loadNpmTasks("grunt-nw-builder");

// Default task.
grunt.registerTask("default", ["build"]);

grunt.registerTask("build-nwjs", ["build", "nwjs"]);

grunt.registerTask("build", [
"clean:build",
"concat:script",
Expand Down

0 comments on commit 3d69a3f

Please sign in to comment.