diff options
author | liabru <liabru@brm.io> | 2015-10-17 18:40:51 +0100 |
---|---|---|
committer | liabru <liabru@brm.io> | 2015-10-17 18:40:51 +0100 |
commit | ca926de04f830c401daf6d16db1359e982d3eda8 (patch) | |
tree | a4824ba1558964b9c10cf9ca11a706a51d0d5098 /gulpfile.js | |
parent | 91e50ad957b99dc30fab31e6aeb04f8669a63c10 (diff) | |
download | jquery-match-height-ca926de04f830c401daf6d16db1359e982d3eda8.zip jquery-match-height-ca926de04f830c401daf6d16db1359e982d3eda8.tar.gz jquery-match-height-ca926de04f830c401daf6d16db1359e982d3eda8.tar.bz2 |
added gulpfile, jasmine test specs, browser test runner, selenium test runner
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..3da2d0d --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,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' + })); +});
\ No newline at end of file |