Skip to content

Commit 0c2d983

Browse files
committed
Actually add the read me this time
1 parent 835787a commit 0c2d983

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Gulp Mincer
2+
3+
Gulp Plugin for Mincer
4+
5+
### Usage:
6+
7+
```javascript
8+
...pipe( require('gulp-mincer')(env) )...;
9+
```
10+
11+
### Example:
12+
13+
```javascript
14+
var gulp = require('gulp');
15+
var Mincer = require('mincer');
16+
var mince = require("gulp-mincer");
17+
18+
var env = new Mincer.Environment();
19+
20+
env.appendPath("assets/javascripts");
21+
env.appendPath("assets/stylesheets");
22+
23+
gulp.task('default', function() {
24+
gulp.src("assets/**/application.*")
25+
.pipe( mince(env) )
26+
.pipe( gulp.dest("public") );
27+
});
28+
```

0 commit comments

Comments
 (0)