Commit 75a2f1c3 by Edgar Hipp

remove unnecessary stuff in gulpfile

parent b3ef89a6
...@@ -6,8 +6,6 @@ var coffee= require('gulp-coffee'); ...@@ -6,8 +6,6 @@ var coffee= require('gulp-coffee');
var concat= require('gulp-concat'); var concat= require('gulp-concat');
var uglify= require('gulp-uglify'); var uglify= require('gulp-uglify');
var spawn = require('child_process').spawn; var spawn = require('child_process').spawn;
// var livereload = require('gulp-livereload');
// var browserify = require('gulp-browserify');
var server=null; var server=null;
var config={uglify:false} var config={uglify:false}
...@@ -19,26 +17,6 @@ var paths = { ...@@ -19,26 +17,6 @@ var paths = {
js:'js/' js:'js/'
}; };
// gulp.task('browserify', function() {
// browserified=gulp.src(__dirname+'/test.test.js')
// .pipe(browserify({}))
// browserified
// .pipe(gulp.dest(__dirname+'/browser/'))
// // Single entry point to browserify
// browserified=gulp.src(__dirname+'/examples/main.js')
// .pipe(browserify({}))
// browserified
// .pipe(uglify())
// .pipe(rename('main.min.js'))
// .pipe(gulp.dest(__dirname+'/browser'))
// browserified
// .pipe(gulp.dest(__dirname+'/browser/'))
// });
gulp.task('allCoffee', function () { gulp.task('allCoffee', function () {
gulp.src(paths.coffee) gulp.src(paths.coffee)
.pipe(coffee({bare:true})) .pipe(coffee({bare:true}))
...@@ -59,9 +37,6 @@ gulp.task('watch', function () { ...@@ -59,9 +37,6 @@ gulp.task('watch', function () {
.pipe(watch(function(files) { .pipe(watch(function(files) {
var f=files.pipe(coffee({bare:true})) var f=files.pipe(coffee({bare:true}))
.pipe(gulp.dest(paths.js)) .pipe(gulp.dest(paths.js))
// gulp.run('browserify');
// gulp.run('jasmine');
// gulp.run('livereload');
return f; return f;
})); }));
...@@ -78,8 +53,6 @@ gulp.task('coffeeTest', function() { ...@@ -78,8 +53,6 @@ gulp.task('coffeeTest', function() {
a=a a=a
.pipe(gulp.dest(paths.testDirectory)); .pipe(gulp.dest(paths.testDirectory));
// gulp.run('livereload');
// gulp.run('jasmine');
return a; return a;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment