diff options
Diffstat (limited to 'bin/build-fixtures.js')
-rwxr-xr-x | bin/build-fixtures.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/build-fixtures.js b/bin/build-fixtures.js deleted file mode 100755 index 142147ef88..0000000000 --- a/bin/build-fixtures.js +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env node -'use strict'; - -var load = require('./load-style.js'); -var mkdirp = require('mkdirp'); -var path = require('path'); -var fs = require('fs'); - -var transforms = { - 'fuzz-colors.min.js': require('./fuzz-colors.js'), - 'fuzz-functions.min.js': require('./fuzz-functions.js'), - 'fuzz-layers.min.js': require('./fuzz-layers.js') -}; - -var source = load(process.argv[2]); -var out = process.argv[3]; -mkdirp.sync(out); - -Object.keys(transforms).forEach(function(key) { - source.pipe(transforms[key].call()) - .pipe(fs.createWriteStream(path.join(out, key))); -}); |