Permalink
Browse files

Added TV specific files to build system

  • Loading branch information...
jseanxu committed Jul 24, 2015
1 parent f60d3e9 commit b20b465b282b98c705226be37360c24d9e4b59ce
Showing with 26 additions and 2 deletions.
  1. +2 −2 gruntfile.js
  2. +8 −0 src/js/tv.js
  3. +4 −0 src/less/colors-tv.less
  4. +2 −0 src/less/styles-tv.less
  5. +10 −0 tasks/options/requirejs.js
View
@@ -52,8 +52,8 @@
// Tasks that drop things in bin/ (should have "_postProcess" as the last task)
grunt.registerTask("storePackage", ["configureStore", "default"]);
grunt.registerTask("quick", ["clean", "ts:src", "less", "concat", "onefile:base", "requirejs:ui", "requirejs:intrinsics", "copy:fonts", "_postProcess"]);
grunt.registerTask("default", ["_preBuild", "onefile:base", "requirejs:ui", "requirejs:intrinsics", "_copyFinal", "replace", "_postProcess"]);
grunt.registerTask("quick", ["clean", "ts:src", "less", "concat", "onefile:base", "requirejs:ui", "requirejs:intrinsics", "requirejs:tv", "copy:fonts", "_postProcess"]);
grunt.registerTask("default", ["_preBuild", "onefile:base", "requirejs:ui", "requirejs:intrinsics", "requirejs:tv", "_copyFinal", "replace", "_postProcess"]);
grunt.registerTask("release", ["lint", "default", "uglify", "cssmin", "_postProcess"]);
grunt.registerTask("minify", ["uglify", "_postProcess"]);
View
@@ -0,0 +1,8 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
define([
'WinJS/Controls/ScrollViewer',
'require-style!less/styles-tv',
'require-style!less/colors-tv'
], function (ScrollViewer) {
});
View
@@ -0,0 +1,4 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
.Colors(@theme) {
}
View
@@ -0,0 +1,2 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
View
@@ -185,6 +185,16 @@
end: footerWithoutExport("intrinsics")
}
}
}),
tv: defaults('tv', {
options: {
cssOutputSuffix: "-tv",
exclude: ['./base', './ui'],
wrap: {
start: header("tv", ['./base', './ui']),
end: footerWithoutExport("tv")
}
}
})
};

0 comments on commit b20b465

Please sign in to comment.