Commit Graph

5 Commits

Author SHA1 Message Date
Dimitris Apostolou
1e437c7e97
Fix typos and cleanup 2020-04-20 22:00:01 +03:00
Christopher Buesser
f31dd2aae6 GOCC implementation & fix in make & build scripts
The usage of a native 'go' command has been replaced with a make &
environment variable $GOCC. This enables building with multiple go
versions on a single machine as documented:
  * https://golang.org/doc/install#extra_versions

This enables the usage of:
```bash
$ make install
$ # OR
$ GOCC=go1.12.3 make install
$ # OR
$ GOCC=go1.12.4 make install
```
And the build and test tools now pick up on this change

 On branch go-version-check
 Changes to be committed:
	modified:   Rules.mk
	modified:   bin/check_go_version
	modified:   bin/dist_get
	modified:   bin/maketarball.sh
	modified:   coverage/Rules.mk
	modified:   mk/golang.mk
	modified:   mk/tarball.mk
License: MIT
Signed-off-by: Chris Buesser <christopher.buesser@gmail.com>
2019-04-30 21:22:43 -04:00
mateon1
f9dcc8abb1 Quote $0 in case it contains spaces
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2016-09-02 21:13:34 +02:00
mateon1
16672127b8 Fixes #3133: Properly handle release candidates in version comparison
Deduplicate version checking code across scripts

License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2016-09-01 16:31:59 +02:00
Christian Couder
40b21bfcfb bin: add check_go_version
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-23 21:26:10 +01:00