Skip to content

Commit

Permalink
gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonnie Spratley committed Dec 8, 2014
1 parent b5da022 commit 370c7ff
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
var coffee, gulp, uglify;

gulp = require( 'gulp' );
coffee = require( 'gulp-coffee' );
uglify = require( 'gulp-uglify' );

gulp.task( 'js', function () {
return gulp
.src( './app/scripts/**/*.coffee' )
.pipe( coffee() )
.pipe( uglify() )
.pipe( gulp.dest( './.tmp/scripts' ) );
} );

gulp.task( 'watch', function () {
return gulp
.watch( './app/scripts/**/*.coffee', ['js'] );
} );

0 comments on commit 370c7ff

Please sign in to comment.