Include development assets in release build.

Closes #3498
This commit is contained in:
Jason Williams 2014-08-01 13:48:15 +00:00
parent 19bef057dc
commit a285a561c4

View File

@ -391,6 +391,9 @@ var path = require('path'),
src: ['**'], src: ['**'],
dest: 'core/client/assets/', dest: 'core/client/assets/',
expand: true expand: true
}, {
src: 'core/client/config-prod.js',
dest: 'core/client/config.js'
}, { }, {
expand: true, expand: true,
src: buildGlob, src: buildGlob,
@ -875,8 +878,8 @@ var path = require('path'),
' - Copy files to release-folder/#/#{version} directory\n' + ' - Copy files to release-folder/#/#{version} directory\n' +
' - Clean out unnecessary files (travis, .git*, etc)\n' + ' - Clean out unnecessary files (travis, .git*, etc)\n' +
' - Zip files in release-folder to dist-folder/#{version} directory', ' - Zip files in release-folder to dist-folder/#{version} directory',
['shell:bower', 'update_submodules', 'concat:prod', 'copy:prod', 'emberBuildProd', 'uglify', ['shell:bower', 'update_submodules', 'concat', 'emberBuildDev',
'clean:release', 'copy:release', 'compress:release']); 'emberBuildProd', 'uglify', 'clean:release', 'copy:release', 'compress:release']);
}; };
// Export the configuration // Export the configuration