Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: experimental/webtry/poly/Gruntfile.js

Issue 688713002: delete webtry from main skia repo; it's been moved to buildbots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/webtry/poly/.bowerrc ('k') | experimental/webtry/poly/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/poly/Gruntfile.js
diff --git a/experimental/webtry/poly/Gruntfile.js b/experimental/webtry/poly/Gruntfile.js
deleted file mode 100644
index cf70277872f7f57cd96e3cefd9545af773168b79..0000000000000000000000000000000000000000
--- a/experimental/webtry/poly/Gruntfile.js
+++ /dev/null
@@ -1,64 +0,0 @@
-module.exports = function(grunt) {
-
- // Project configuration.
- grunt.initConfig({
- pkg: grunt.file.readJSON('package.json'),
- // Install all the packages listed in the bower.json file.
- shell: {
- bower_install: {
- command: 'bower install'
- }
- },
- // Copy all the bower files into a single directory.
- bower: {
- dev: {
- dest: '../../../out/grunt/third_party'
- }
- },
- // Concatenate all the files in third_party into a single file.
- concat: {
- dist: {
- src: [
- '../../../out/grunt/third_party/WeakMap.js',
- '../../../out/grunt/third_party/classlist.js',
- '../../../out/grunt/third_party/pointerevents-polyfill.js',
- '../../../out/grunt/third_party/MutationObserver.js',
- '../../../out/grunt/third_party/CustomElements.js',
- '../../../out/grunt/third_party/HTMLImports.js',
- ],
- dest: '../../../out/grunt/src/<%= pkg.name %>.js'
- }
- },
- // Uglify the one big file into one smaller file.
- uglify: {
- options: {
- banner: '/*! <%= pkg.name %> built from /exerimental/webtry/poly <%= grunt.template.today("yyyy-mm-dd") %> */\n'
- },
- build: {
- src: '../../../out/grunt/src/<%= pkg.name %>.js',
- dest: '../res/js/<%= pkg.name %>.js'
- }
- },
- copy: {
- simple: {
- src: '../../../out/grunt/src/<%= pkg.name %>.js',
- dest: '../res/js/<%= pkg.name %>.js'
- }
- }
- });
-
- // Load the plugins for the above commands.
- grunt.loadNpmTasks('grunt-bower');
- grunt.loadNpmTasks('grunt-contrib-concat');
- grunt.loadNpmTasks('grunt-contrib-copy');
- grunt.loadNpmTasks('grunt-contrib-cssmin');
- grunt.loadNpmTasks('grunt-contrib-uglify');
- grunt.loadNpmTasks('grunt-shell');
-
- // By default run all the commands in the right sequence to build our custom minified polyfill.
- grunt.registerTask('default', ['shell:bower_install', 'bower', 'concat', 'uglify']);
-
- // A target to build an unminified version, for debugging.
- grunt.registerTask('notmin', ['shell:bower_install', 'bower', 'concat', 'copy:simple']);
-
-};
« no previous file with comments | « experimental/webtry/poly/.bowerrc ('k') | experimental/webtry/poly/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698