Strip bindata path
This commit is contained in:
parent
375ed94177
commit
c7faa254c5
3 changed files with 81 additions and 85 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue