sorting cycles by their order
[tech-radar.git] / gulpfile.js
1 var gulp = require('gulp')
2 , gutil = require('gulp-util')
3 , gkarma = require('gulp-karma')
4 , files;
5
6 files = {
7 LIB: 'bower_components/d3/*.min.js',
8 NS: 'src/namespaces.js',
9 SOURCE: 'src/**/*.js',
10 SPEC: 'test/**/*-spec.js'
11 };
12
13 gulp.task('test', function (){
14 var karma;
15
16 karma = gkarma({
17 configFile: 'karma.conf.js',
18 action: 'run'
19 });
20
21 return gulp.src(
22 [files.LIB, files.NS, files.SOURCE, files.SPEC]
23 ).pipe(karma);
24 });