Comparing version 0.1.0 to 0.1.1
@@ -27,2 +27,5 @@ #!/usr/bin/env node | ||
console.log('Watching ' + colors.cyan(argv.i) + ' for changes.\nCTRL + C to stop.\n'); | ||
// now what we've finished watching, let's fuse immediately too | ||
fuse.fuseFile(argv.i, argv.o, argv.c, argv.m, argv.l, false); | ||
@@ -29,0 +32,0 @@ } else { |
@@ -10,6 +10,7 @@ { | ||
"devDependencies" : { "mocha": "1.8.x"}, | ||
"bin" : { "fuse": "./bin/fuse.js" }, | ||
"bin" : { "fuse": "./bin/fuse.js" }, | ||
"scripts" : { "test": "make test" }, | ||
"directories" : { "bin": "./bin" }, | ||
"version" : "0.1.0", | ||
"version" : "0.1.1", | ||
"engines" : {"node": ">=0.4"} | ||
} |
@@ -1,2 +0,2 @@ | ||
# Fuse | ||
# Fuse [![Build Status](https://travis-ci.org/smebberson/fuse.png?branch=master)](https://travis-ci.org/smebberson/fuse) | ||
@@ -15,2 +15,8 @@ > Fuse is a command line tool to fuse multiple JavaScript files into one, and optionally compress or mangle the JavaScript code. | ||
## Running tests (via NPM) | ||
npm test | ||
Tests are run using [Mocha][mocha]. You can also run `make test` to run the tests. | ||
## Usage | ||
@@ -49,1 +55,8 @@ | ||
fuse -i path/to/main.js -o path/to/output.js -c -m -w | ||
To lint with [jshint][jshint] before combining: | ||
fuse -i path/to/main.js -o path/to/output.js -l | ||
[mocha]: http://visionmedia.github.com/mocha/ | ||
[jshint]: http://www.jshint.com/about/ |
29317
26
739
61