mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Fix output path for go-bindata-assetfs (#6253)
This commit is contained in:
parent
2f1756489e
commit
98bce72295
@ -70,9 +70,9 @@ async.waterfall([
|
|||||||
commitId = stdout.replace('\n', '')
|
commitId = stdout.replace('\n', '')
|
||||||
if (commitId.length !== 40) throw new Error('commitId invalid : ' + commitId)
|
if (commitId.length !== 40) throw new Error('commitId invalid : ' + commitId)
|
||||||
assetsFileName = 'ui-assets.go';
|
assetsFileName = 'ui-assets.go';
|
||||||
var cmd = 'go-bindata-assetfs -pkg browser -nocompress=true production/...'
|
var cmd = 'go-bindata-assetfs -o bindata_assetfs.go -pkg browser -nocompress=true production/...'
|
||||||
if (!isProduction) {
|
if (!isProduction) {
|
||||||
cmd = 'go-bindata-assetfs -pkg browser -nocompress=true dev/...'
|
cmd = 'go-bindata-assetfs -o bindata_assetfs.go -pkg browser -nocompress=true dev/...'
|
||||||
}
|
}
|
||||||
console.log('Running', cmd)
|
console.log('Running', cmd)
|
||||||
exec(cmd, cb)
|
exec(cmd, cb)
|
||||||
|
Loading…
Reference in New Issue
Block a user