fixed make file and added an example database

This commit is contained in:
didier.amyot committed 2014-10-30 22:22:47 -07:00
1 parent 32c9730321
commit 4ad71dd240
8 files changed
+62 -76

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
var bower = require('gulp-bower');
var gulp = require('gulp');
var coffee = require('gulp-coffee');
var help = require('gulp-task-listing');
var clean = require('gulp-clean');
gulp.task('help', help);
gulp.task('bower', function() {
return bower()
.pipe(gulp.dest('bower_components/'))
});
gulp.task('coffee', function() {
gulp.src('coffee/**/*.coffee')
.pipe(coffee({bare: true}))
.pipe(gulp.dest('./js/'))
});
gulp.task('clean', function(){
return gulp.src(["js/", "bower_components/"], {read: false})
.pipe(clean())
});
gulp.task('default', ['bower', 'coffee']);
gulp.task('dev', ['bower', 'coffee'], function(){
gulp.watch('coffee/**/*.coffee', ['coffee']);
});