Commit Graph

10 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
bdda465f33 api: use go mod 2019-06-05 21:43:12 -07:00
WGH
6e22d10b02 api/Makefile: remove -i flag to fix cross-compilation
When -i (install) flag is passed to `go build`, it attempts
to install dependencies of the target.

This will usually fail during cross-compilation due to GOROOT being
not writeable to non-root users:

    runtime/internal/sys
    go build runtime/internal/sys: mkdir /usr/lib/go/pkg/linux_arm: permission denied

Installing dependencies makes no sense in recent Go versions,
because compilation is cached anyway (see `go help cache`).
2019-06-05 20:45:03 -07:00
Adhityaa Chandrasekar
02615088ff everywhere: remove -ce suffix 2018-12-28 12:58:01 -05:00
Adhityaa Chandrasekar
a36b11f07d api: use dep instead of go get 2018-10-18 02:17:51 -04:00
Adhityaa Chandrasekar
0a03a2c6fc api/Makefile: use verbose when getting deps 2018-09-22 17:14:03 -04:00
Adhityaa
95d80927b2 Makefile: make devel the default target 2018-06-11 01:19:41 +05:30
Pierre-Alain TORET
08c708341b Makefile: add test target
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-10 19:57:36 +02:00
Pierre-Alain TORET
e88d027239 Makefile: use go get to pull the dependencies
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-08 12:26:54 +02:00
Adhityaa
db376eb124 Makefile: use consistent build structure 2018-05-27 23:40:46 +05:30
Adhityaa
1ceac9bbf3 api: add Makefile 2018-05-27 23:40:46 +05:30