Skip to content
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.

Commit

Permalink
Add 'npm run update' command to update current webtasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
radekk committed Apr 22, 2016
1 parent 62fb92c commit e7eaa0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 8 additions & 0 deletions gulp/tasks/update.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

const gulp = require('gulp');
const sequence = require('run-sequence');

gulp.task('update', cb => {
sequence('build', 'install', cb);
});
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"configure:cron": "NODE_PATH=. ./node_modules/.bin/gulp configure:cron",
"configure:sandbox": "NODE_PATH=. ./node_modules/.bin/gulp configure:sandbox",
"configure:webtasks": "NODE_PATH=. ./node_modules/.bin/gulp configure:webtasks",
"install": "NODE_PATH=. ./node_modules/.bin/gulp install",
"install:cron": "NODE_PATH=. ./node_modules/.bin/gulp install:cron"
"update": "NODE_PATH=. ./node_modules/.bin/gulp update"
},
"keywords": [
"auth0",
Expand Down

0 comments on commit e7eaa0f

Please sign in to comment.