Add cobra, move the server code into its own package
This commit is contained in:
parent
bb729a5c8e
commit
e63c012aad
57 changed files with 6910 additions and 145 deletions
|
@ -85,11 +85,11 @@ gulp.task('gzip', ['html', 'css', 'js', 'fonts'], function() {
|
|||
|
||||
function bindata(cb) {
|
||||
if (argv.production) {
|
||||
exec('go-bindata -nomemcopy -o ../bindata.go dist/...', function(err) {
|
||||
exec('go-bindata -nomemcopy -pkg server -o ../server/bindata.go dist/...', function(err) {
|
||||
cb(err);
|
||||
});
|
||||
} else {
|
||||
exec('go-bindata -debug -o ../bindata.go dist/...', function(err) {
|
||||
exec('go-bindata -debug -pkg server -o ../server/bindata.go dist/...', function(err) {
|
||||
cb(err);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue