Skip to content

Commit

Permalink
Merge pull request #762 from kiike/pr/allow_skipping_building_nwjs
Browse files Browse the repository at this point in the history
gruntfile: Add flag to skip building nwjs
  • Loading branch information
cavearr authored Jul 11, 2024
2 parents 327ad0d + 48c12ec commit 15d4513
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,10 @@ module.exports = function (grunt) {
"nggettext_compile", //-- Extract English texts to the template file
"copy:dist", //-- Copy the files to be included in the build package
"json-minify", //-- Minify JSON files
"nwjs", //-- Build the executable package

//-- Build the executable package with nwjs by default, and skip this task
//-- when the flag --dont-build-nwjs is passed
... grunt.option('dont-build-nwjs') ? [] : ["nwjs"],

//-- The clean:tmp task is also a common task, but it is
//-- executed after the specific platform task
Expand Down

0 comments on commit 15d4513

Please sign in to comment.