diff --git a/app/gulpfile.js b/app/gulpfile.js new file mode 100644 index 0000000..27e6121 --- /dev/null +++ b/app/gulpfile.js @@ -0,0 +1,18 @@ +var gulp = require('gulp'), + concat = require('gulp-concat'); + +var scripts = [ + './src/jquery-1.11.3.min.js', + './src/w2ui-1.4.3.min.js', + './src/chroma.min.js', + './src/index.js' +]; + +gulp.task('js', function () { + 'use strict'; + return gulp.src(scripts) + .pipe(concat('app.js')) + .pipe(gulp.dest('./js/')); +}); + +gulp.task('default', ['js']); \ No newline at end of file diff --git a/app/index.html b/app/index.html index 78267d4..dc2a83e 100644 --- a/app/index.html +++ b/app/index.html @@ -9,16 +9,8 @@
-