Strip bindata path

This commit is contained in:
khlieng 2015-05-16 00:33:51 +02:00
parent 375ed94177
commit c7faa254c5
3 changed files with 81 additions and 85 deletions

View file

@ -87,9 +87,9 @@ gulp.task('gzip', ['html', 'css', 'js', 'fonts'], function() {
function bindata(cb) {
if (argv.production) {
exec('go-bindata -nomemcopy -nocompress -pkg server -o ../server/bindata.go dist/gz/...', cb);
exec('go-bindata -nomemcopy -nocompress -pkg server -o ../server/bindata.go -prefix "dist/gz" dist/gz/...', cb);
} else {
exec('go-bindata -debug -pkg server -o ../server/bindata.go dist/...', cb);
exec('go-bindata -debug -pkg server -o ../server/bindata.go -prefix "dist/gz" dist/...', cb);
}
}