Skip to content

Commit 5423711

Browse files
committed
Ensure GDevelop.js build is done using release mode if not specified [skip ci]
Only show in developer changelog
1 parent 3c5bcf2 commit 5423711

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GDevelop.js/Gruntfile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ module.exports = function (grunt) {
77
const useMinGW = grunt.option('use-MinGW') || false;
88

99
const possibleVariants = [
10+
'release',
1011
'dev',
1112
'debug',
1213
'debug-assertions',
1314
'debug-sanitizers',
1415
];
15-
const variant = grunt.option('variant') || (grunt.option('dev') ? 'dev' : '');
16+
const variant = grunt.option('variant') || (grunt.option('dev') ? 'dev' : 'release');
1617

1718
if (variant && possibleVariants.indexOf(variant) === -1) {
1819
console.error(

0 commit comments

Comments
 (0)