Skip to content

Commit

Permalink
gruntfile: Add flag to skip building nwjs
Browse files Browse the repository at this point in the history
  • Loading branch information
kiike committed Jul 11, 2024
1 parent 327ad0d commit 48c12ec
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 48c12ec

Please sign in to comment.