Skip to content

Commit

Permalink
feat #465 moving some grunt configuration values
Browse files Browse the repository at this point in the history
This commit moves some build configuration values from
config-atpackager-bootstrap.js to config-packaging.js
to have more control on the build when overriding config-packaging.js.

Close #465
  • Loading branch information
divdavem authored and Fabio Crisci committed Apr 18, 2013
1 parent 6e5516f commit a3054ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/grunt-config/config-atpackager-bootstrap.js
Expand Up @@ -85,7 +85,7 @@ module.exports = function (grunt) {
header : '<%= packaging.license %>'
}
},
files : require('../config/files-bootstrap.json')
files : '<%= packaging.bootstrap.files %>'
}, {
name : 'aria/css/atskin-<%= pkg.version %>.js',
files : ['aria/css/atskin.js']
Expand Down
2 changes: 1 addition & 1 deletion build/grunt-config/config-atpackager-prod.js
Expand Up @@ -37,7 +37,7 @@ module.exports = function (grunt) {
options : {
ATBootstrapFile : mainATFile,
sourceDirectories : ['<%= packaging.bootstrap.outputdir %>'],
sourceFiles : ['**/*'],
sourceFiles : '<%= packaging.prod.source_files %>',
defaultBuilder : {
type : 'ATMultipart',
cfg : {
Expand Down
1 change: 1 addition & 0 deletions build/grunt-config/config-packaging.js
Expand Up @@ -19,6 +19,7 @@ module.exports = function (grunt) {
grunt.config.set('packaging.bootstrap.files', require('../config/files-bootstrap.json'));
grunt.config.set('packaging.prod.outputdir', 'build/target/production');
grunt.config.set('packaging.prod.files', require('../config/files-prod.json'));
grunt.config.set('packaging.prod.source_files', ['**/*']);
grunt.config.set('packaging.prod.allow_unpackaged_files', []);
grunt.config.set('packaging.prod.localization_files', require('../config/files-prod-localization.json'));
grunt.config.set('packaging.prod.hash_include_files', []);
Expand Down

0 comments on commit a3054ae

Please sign in to comment.