Benjamin Elder
3652d39e04
force GOTOOLCHAIN="go${GO_VERSION}" for now
...
TODO: look at using deprecating .go-version in favor of GOTOOLCHAIN existing knobs
2024-04-01 15:52:31 -07:00
失眠是真滴难受
9ad1341405
feat: add commit count flag in pre-release version ( #2870 )
...
* feat: support commit count in pre-release version
* unexport version strings, correct semver
and shortern makefile lines
* add alpha tag immediately after release commit
Co-authored-by: Benjamin Elder <bentheelder@google.com >
2022-09-01 16:12:07 -07:00
XinYang
cc3d35f7c7
remove vendor part in make clean
...
Signed-off-by: XinYang <xinydev@gmail.com >
2021-07-09 22:54:34 +08:00
Jason Kane
0905dd74e4
potential fix for spaces in source path
2021-04-26 16:12:04 -07:00
Josh Soref
bd58196e63
spelling: ldflags
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2021-01-19 19:31:58 -05:00
Benjamin Elder
d522f621db
disable CGO by default
2020-11-18 15:37:21 -08:00
Benjamin Elder
f5a3d7b01f
split unit and integration tests in makefile
2020-11-18 00:48:57 -08:00
steigr
4653bfa864
Fix problem with spaces in $PATH ( #1823 )
...
* Fix problem with spaces in $PATH
Signed-off-by: steigr <me@stei.gr >
* Fix issue with literal quotes and first/last path
* Polish
2020-08-26 23:39:02 -07:00
Benjamin Elder
93f7aab9ad
fix make clean nit
2020-08-06 15:25:25 -07:00
Benjamin Elder
da5b1900e8
dont' use vendor or fake gopath
2020-08-06 14:34:49 -07:00
Benjamin Elder
3ef88a2b7a
enable modules broadly
2020-08-06 13:08:00 -07:00
Benjamin Elder
c58690b38f
clear GOROOT
2020-08-06 12:37:46 -07:00
Benjamin Elder
684e591345
fix make unit
2020-08-06 12:18:12 -07:00
Benjamin Elder
9fecb4635a
refactor go setup
2020-08-06 11:39:50 -07:00
Benjamin Elder
71c91a424a
add missing phony targets
2020-08-06 11:07:23 -07:00
Benjamin Elder
6ee7863958
use auto managed go version with gimme instead of go_container.sh
...
also build reproducibly
2020-08-06 11:07:23 -07:00
Benjamin Elder
5c17d4d0f5
add make targets, correct paths
2020-08-06 09:43:54 -07:00
Amit Watve
829cecfaef
fix shellcheck error, add an easy make target.
2020-07-28 13:03:08 -07:00
Amit Watve
a67cfed368
also auto detect in makefile
2020-02-27 17:39:37 -08:00
Amit Watve
76809b4f34
Allow docker to be overridable during build.
2020-01-17 15:03:12 -08:00
Benjamin Elder
42096960d0
add make target for linting
2019-11-07 02:25:55 -08:00
Benjamin Elder
886f559ec2
move commands into pkg/
2019-11-01 11:31:19 -07:00
Benjamin Elder
dfbd929e5f
include commit in pre-release builds
2019-10-21 15:37:17 -07:00
Benjamin Elder
b781da9b63
get junit output in tests
2019-09-30 17:37:53 -07:00
Benjamin Elder
3ad2c34871
dump coverage profile
2019-09-30 15:08:29 -07:00
Benjamin Elder
b589694f1b
add hermetic unit test target
2019-09-30 15:02:59 -07:00
Benjamin Elder
d8d9dc1d40
cleanup go_container.sh, upgrade to go1.13rc1
2019-08-22 21:23:48 -07:00
Misty De Meo
2e40773bc8
Makefile: ensure install dir is created
2019-06-24 16:05:12 -07:00
Misty De Meo
1a43bad39a
Makefile: use INSTALL
2019-06-24 16:04:56 -07:00
Benjamin Elder
a03ada7308
refactor containerized build
2019-06-18 23:21:46 -07:00
Benjamin Elder
91e5ce5995
upgrade to go 1.12.6
2019-06-18 13:53:11 -07:00
Antonio Ojea
1e963365c6
Allow make to use proxies
2019-05-26 19:32:21 +02:00
Benjamin Elder
d1eef198b9
make variables and output overrideable
2019-05-16 15:18:46 -07:00
Benjamin Elder
38b53154a0
tell the user what we are doing and whre the binary is
2019-05-16 15:01:47 -07:00
Benjamin Elder
a9aa361423
make: run as user
2019-05-10 12:05:33 -07:00
Benjamin Elder
e9e0f0362d
use install instead of cp
2019-05-09 00:07:52 -07:00
Benjamin Elder
466b9d64c7
simplify output (just bin/ instead of _output/bin), speed up verify-generated
2019-05-08 22:44:55 -07:00
Benjamin Elder
7613bf56be
fix makefile path computation when run from another directory (eg -C) and update e2e.sh to use this
2019-05-08 09:20:14 -07:00
Benjamin Elder
1450fb8cb9
clean and ensure the output directory
2019-05-08 08:58:22 -07:00
Benjamin Elder
f9debfdc6f
add make install support
2019-05-08 08:58:22 -07:00
Benjamin Elder
4d0095763c
reorganize hack slightly
2019-05-07 19:04:54 -07:00
Benjamin Elder
3ef8026e79
use the module proxy and force module mode
2019-05-07 18:02:06 -07:00
Benjamin Elder
21a51f592a
autodetect GOOS / GOARCH
2019-05-07 18:02:06 -07:00
Jintao Zhang
b5240ffbf6
bump golang 1.12.5
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com >
2019-05-08 08:35:47 +08:00
Benjamin Elder
a4062c6b32
add makefile to build containerized with modules
2019-05-07 16:37:12 -07:00