Skip to content

Commit

Permalink
Updated build commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Palazzolo committed Oct 26, 2015
1 parent e80385d commit ececa4b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ var gulp = require('gulp');
var glob = require('glob');
var reactify = require('reactify');
var source = require('vinyl-source-stream');
var shell = require('gulp-shell');

/*
gulp browserify:
Expand All @@ -24,3 +25,13 @@ gulp.task('browserify', function() {
.pipe(source('bundle.js'))
.pipe(gulp.dest('./build/'));
});

gulp.task('install-php', shell.task([
'hhvm composer.phar install'
]));

gulp.task('autoload', shell.task([
'hhvm composer.phar dump-autoload'
]));

gulp.task('default', ['install-php','browserify']);
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"react-tools": "~0.13.1",
"reactify": "~1.1.0",
"vinyl-source-stream": "^1.1.0",
"xhpjs": "~1.0.0"
"xhpjs": "~1.0.0",
"gulp-shell": "~0.5.0"
},
"browserify": {
"transform": [
Expand Down

0 comments on commit ececa4b

Please sign in to comment.