|
@@ -9,7 +9,8 @@ module.exports = function(grunt) {
|
|
|
amberc: {
|
|
|
_config: {
|
|
|
amber_dir: process.cwd(),
|
|
|
- closure_jar: ''
|
|
|
+ closure_jar: '',
|
|
|
+ verbose: true
|
|
|
},
|
|
|
helloWorld: {
|
|
|
src: ['projects/HelloWorld/st/HelloWorld.st'],
|
|
@@ -21,8 +22,7 @@ module.exports = function(grunt) {
|
|
|
main_file: 'myMain.js',
|
|
|
deploy: true,
|
|
|
output_suffix: 'mySuffix',
|
|
|
- library_suffix: '-0.9',
|
|
|
- verbose: true
|
|
|
+ library_suffix: '-0.9'
|
|
|
},
|
|
|
},
|
|
|
|
|
@@ -37,6 +37,7 @@ module.exports = function(grunt) {
|
|
|
closure_jar: '',
|
|
|
verbose: false
|
|
|
});
|
|
|
+ this.data.verbose = options.verbose;
|
|
|
|
|
|
|
|
|
var done = this.async();
|
|
@@ -111,9 +112,7 @@ module.exports = function(grunt) {
|
|
|
if (undefined !== data.output_dir) {
|
|
|
configuration.output_dir = data.output_dir;
|
|
|
}
|
|
|
- if (true === data.verbose) {
|
|
|
- configuration.verbose = true;
|
|
|
- }
|
|
|
+ configuration.verbose = data.verbose;
|
|
|
return configuration;
|
|
|
}
|
|
|
};
|