summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/test-infra/shrinkwrap.js
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2014-02-13 15:18:39 -0500
committerThomas Park <thomas@thomaspark.me>2014-02-13 15:18:39 -0500
commita12ab54dac21bdaf0ac3754dec8550fa75cf9f21 (patch)
tree1aee04baf597c7d6d462f6694f3846a6a5572018 /bower_components/bootstrap/test-infra/shrinkwrap.js
parenta43354fc783adee59aae1b6cfb4dc253837af316 (diff)
update bootstrap to 3.1.0
Diffstat (limited to 'bower_components/bootstrap/test-infra/shrinkwrap.js')
-rw-r--r--bower_components/bootstrap/test-infra/shrinkwrap.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/bower_components/bootstrap/test-infra/shrinkwrap.js b/bower_components/bootstrap/test-infra/shrinkwrap.js
deleted file mode 100644
index 7a0328d4..00000000
--- a/bower_components/bootstrap/test-infra/shrinkwrap.js
+++ /dev/null
@@ -1,24 +0,0 @@
-/* jshint node: true */
-
-/*
-This Grunt task updates the npm-shrinkwrap.canonical.json file that's used as the key for Bootstrap's npm packages cache.
-This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.
-*/
-
-var canonicallyJsonStringify = require('canonical-json');
-var NON_CANONICAL_FILE = 'npm-shrinkwrap.json';
-var DEST_FILE = 'test-infra/npm-shrinkwrap.canonical.json';
-
-
-function updateShrinkwrap(grunt) {
- // Assumption: Non-canonical shrinkwrap already generated by prerequisite Grunt task
- var shrinkwrapData = grunt.file.readJSON(NON_CANONICAL_FILE);
- grunt.log.writeln('Deleting ' + NON_CANONICAL_FILE.cyan + '...');
- grunt.file.delete(NON_CANONICAL_FILE);
- // Output as Canonical JSON in correct location
- grunt.file.write(DEST_FILE, canonicallyJsonStringify(shrinkwrapData));
- grunt.log.writeln('File ' + DEST_FILE.cyan + ' updated.');
-}
-
-
-module.exports = updateShrinkwrap;