summaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorliabru <liabru@brm.io>2015-10-17 18:40:51 +0100
committerliabru <liabru@brm.io>2015-10-17 18:40:51 +0100
commitca926de04f830c401daf6d16db1359e982d3eda8 (patch)
treea4824ba1558964b9c10cf9ca11a706a51d0d5098 /gulpfile.js
parent91e50ad957b99dc30fab31e6aeb04f8669a63c10 (diff)
downloadjquery-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.js23
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