1
0
mirror of https://github.com/minio/mc.git synced 2025-11-12 01:02:26 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
Harshavardhana
a30f0aca85 Add build-constants. 2016-08-17 18:30:01 -07:00
Remco Verhoef
3603766f1c changed package command to mc (#1796)
* changed package command to mc

* changed package from command to mc
2016-08-15 09:05:52 -07:00
Harshavardhana
f5ff7e15cf mc: Fix release build flags after recent refactor. (#1794) 2016-08-13 13:49:18 -07:00
Harshavardhana
4ef3dcffc4 build: Now builds for all platforms and builds into 'release/experimental' directory.
Two Makefile options are

- make release
- make experimental

Currently supported OS and arch -

- linux/386
- linux/amd64
- linux/arm
- windows/386
- windows/amd64
- darwin/amd64
2016-02-09 14:18:35 -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