Migrating minio server build to do 'go run make.go' style like mc

This commit is contained in:
Harshavardhana
2015-06-16 20:20:59 -07:00
parent 4998907835
commit 8bde4d4e34
8 changed files with 234 additions and 123 deletions

4
Godeps/Godeps.json generated
View File

@@ -23,8 +23,8 @@
},
{
"ImportPath": "github.com/minio/cli",
"Comment": "1.2.0-111-g432a101",
"Rev": "432a1019ded42d1b34fb5f1aad60fb609245d5a1"
"Comment": "1.2.0-112-g823349c",
"Rev": "823349ce91e76834a4af0119d5bbc58fd4d2c6b0"
},
{
"ImportPath": "github.com/stretchr/objx",

View File

@@ -198,7 +198,6 @@ func (a *App) Run(arguments []string) (err error) {
// RunAndExitOnError - Another entry point to the cli app, takes care of passing arguments and error handling
func (a *App) RunAndExitOnError() {
if err := a.Run(os.Args); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}