diff --git a/.gitignore b/.gitignore index f4906ac..a3732ec 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,6 @@ /test.bat /build/shadowdom.conditional.js -platform.min* -platform.native* -platform.sandbox* -platform.concat* +*.min.js* +*.concat.js* build.bat diff --git a/build-lite.json b/build-lite.json new file mode 100644 index 0000000..8b62a11 --- /dev/null +++ b/build-lite.json @@ -0,0 +1,4 @@ +[ + "../HTMLImports/build.json", + "../CustomElements/build.json" +] diff --git a/gruntfile.js b/gruntfile.js index 6b710db..d10accb 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -32,6 +32,13 @@ module.exports = function(grunt) { } } }, + concat: { + lite: { + files: { + 'platform-lite.concat.js': readManifest('build-lite.json', [tmp.path]) + } + } + }, uglify: { options: { banner: grunt.file.read('LICENSE'), @@ -96,5 +103,6 @@ module.exports = function(grunt) { grunt.registerTask('docs', ['yuidoc']); grunt.registerTask('test', ['override-chrome-launcher', 'karma:platform']); grunt.registerTask('test-buildbot', ['override-chrome-launcher', 'karma:buildbot']); + grunt.registerTask('build-lite', ['gen_license', 'concat', 'clean_license']); };