OSDN Git Service

simple signup and login. Next, will modify note and worksapce api adding user info
[eos/zephyr.git] / gulpfile.js
index bdb9a70..a8cc4fd 100644 (file)
@@ -122,6 +122,10 @@ gulp.task('set-production', function() {
     process.env.NODE_ENV = 'production'
 })
 
+gulp.task('dbdrop', function() {
+    process.env.DB_ZEPHYR = 'drop'
+})
+
 gulp.task('build', ['angular-concat', 'js-vendor-concat', 'underscore', 'js-app', 'js-source-concat', 'css-concat', 'cache'], function() {
 })
 
@@ -132,3 +136,8 @@ gulp.task('default', function(callback) {
 gulp.task('deploy', function(callback) {
     runSequence('build', 'set-production', 'serve', callback)
 })
+
+gulp.task('test', function(callback) {
+    runSequence('dbdrop', 'default', callback)
+})
+