summaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
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