summaryrefslogtreecommitdiffstats
path: root/gulpfile.js
blob: 3da2d0d8907150cae28300a59af4a109fda033e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// TODO: build task
// TODO: minify task
// TODO: eslint task
// TODO: cloud selenium server to test more browsers
// TODO: add more test specs (see matchHeight.spec.js)
// TODO: travis CI

var gulp = require('gulp');
var webdriver = require('gulp-webdriver');
var webserver = require('gulp-webserver');

gulp.task('test', function() {
    return gulp.src('test/conf/wdio.conf.js').pipe(webdriver());
});

gulp.task('serve', function() {
  gulp.src('.')
    .pipe(webserver({
      livereload: true,
      directoryListing: true,
      open: 'http://localhost:8000/test/page/test.html'
    }));
});