mirror of
https://github.com/4ian/GDevelop.git
synced 2026-10-12 02:01:17 +00:00
Ensure GDevelop.js build is done using release mode if not specified [skip ci]
Only show in developer changelog
This commit is contained in:
@@ -7,12 +7,13 @@ module.exports = function (grunt) {
|
||||
const useMinGW = grunt.option('use-MinGW') || false;
|
||||
|
||||
const possibleVariants = [
|
||||
'release',
|
||||
'dev',
|
||||
'debug',
|
||||
'debug-assertions',
|
||||
'debug-sanitizers',
|
||||
];
|
||||
const variant = grunt.option('variant') || (grunt.option('dev') ? 'dev' : '');
|
||||
const variant = grunt.option('variant') || (grunt.option('dev') ? 'dev' : 'release');
|
||||
|
||||
if (variant && possibleVariants.indexOf(variant) === -1) {
|
||||
console.error(
|
||||
|
||||
Reference in New Issue
Block a user