summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/grunt/shrinkwrap.js
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2014-06-27 01:07:56 -0400
committerThomas Park <thomas@thomaspark.me>2014-06-27 01:07:56 -0400
commitf3189e26cff5142e200568a81ef3db608530cc6f (patch)
tree00efe6915ac2ca82e175dbdcb15085b2e90c5ca6 /bower_components/bootstrap/grunt/shrinkwrap.js
parent25f107274a4a05e2be8d1c0a7ae77c19f8da5fa9 (diff)
3.1.1 -> 3.2.0
Diffstat (limited to 'bower_components/bootstrap/grunt/shrinkwrap.js')
-rw-r--r--bower_components/bootstrap/grunt/shrinkwrap.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/bower_components/bootstrap/grunt/shrinkwrap.js b/bower_components/bootstrap/grunt/shrinkwrap.js
deleted file mode 100644
index d3292b49..00000000
--- a/bower_components/bootstrap/grunt/shrinkwrap.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/*!
- * Bootstrap Grunt task for generating npm-shrinkwrap.canonical.json
- * http://getbootstrap.com
- * Copyright 2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-/*
-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.
-*/
-'use strict';
-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;