Commit Graph
7 Commits
Author SHA1 Message Date
Harshavardhana dc985953e4 diff: Cleanup diff
- overall simplification and reduction in repetitive code.
- use select for multi channel synchronization.
2015-11-09 16:37:54 -08:00
Harshavardhana 56ccca29f9 build: Evaluate ldflags properly 2015-11-08 03:50:29 -08:00
Harshavardhana 123e44d8c5 build: Populate mcVersion through ldflags
By default binary built through 'go get github.com/minio/mc'. Will be
considered UNOFFICIAL.GOGET with not versioning, 'go get' binaries
cannot use 'mc update' functionality.

First reasoning towards this is - go build tools have no way to specifying
versions and releases unlike `npm`. For this reason alone we have to
differentiate OFFICIAL and UNOFFICIAL.

Now a 'make' will build appropriate binaries, while 'go get' becomes UNOFFICIAL.
2015-11-02 12:42:17 -08:00
Harshavardhana 76a47677c3 Handle directories and print proper errors for cp 2015-10-27 17:47:15 -07:00
Harshavardhana 096b229e03 Do not use msi installation during testing, use zip file much faster 2015-10-12 12:07:52 -07:00
Harshavardhana ca2525bb63 Reduce number of operations on windows build 2015-10-11 11:41:32 -07:00
Harshavardhana 7de3c677df Add windows builds for mc 2015-09-29 18:57:23 -07:00