Commit graph

20 commits

Author SHA1 Message Date
Alexander Neumann
a87a50ad11 Sync settinsg with restic, require Go >= 1.15 2022-04-15 09:38:23 +02:00
Alexander Neumann
6f386876e7 Update build.go from restic 2022-02-10 19:25:41 +01:00
Alexander Neumann
9ae066589d Fix build.go 2020-04-04 20:41:32 +02:00
Alexander Neumann
a6961e877b Travis: Fix tests (again)
The problem is that in Go < 1.9 "..." also matches the vendor directory,
and we don't want to run those tests :)
2018-03-20 22:19:42 +01:00
Alexander Neumann
cda126a99c Fix tests on Travis 2018-03-20 21:16:58 +01:00
Zlatko Čalušić
c3b57a177c Fix error handling in build.go copyFile() 2018-02-18 15:47:47 +01:00
Alexander Neumann
03958beb57 Update build.go 2018-02-11 11:34:49 +01:00
Alexander Neumann
cd62c2bceb Update build.go 2018-01-13 10:52:46 +01:00
Alexander Neumann
90b868dfbc build.go: Fix path for new cmd/ subdir 2017-06-25 11:48:02 +02:00
Zlatko Čalušić
267f5d330a build.go: Use Go log package instead of custom die() implementation 2017-06-02 09:26:02 +02:00
Zlatko Čalušić
e591a330e5 build.go: Update for rest-server 2017-06-02 09:04:27 +02:00
Zlatko Čalušić
fbac61c6cb build.go: Strip temporary path, allow reproducible builds
de48a5ac9c
2017-06-02 08:56:08 +02:00
Zlatko Čalušić
ba98452c5e build.go: Add --enable-cgo
c49da4c6f7
2017-06-02 08:55:27 +02:00
Zlatko Čalušić
3122bd76ed build.go: Fix ineffassign mistakes
971ecee171
2017-06-02 08:54:30 +02:00
Zlatko Čalušić
fd9e42ed71 build.go: Also copy header files
e6ca604d24
2017-06-02 08:53:31 +02:00
Zlatko Čalušić
4bc2581b47 Check version in build.go
Print a sensible error for Go < 1.7 (the "context" package is missing there)

f8dd5d5088
2017-06-02 08:52:04 +02:00
Zlatko Čalušić
a029785c73 build.go: Make binaries completely static (disables cgo)
7e0a4c66e7
2017-06-02 08:50:28 +02:00
Zlatko Čalušić
0ee5921e04 build.go: Allow setting the output file name
62b1056860
2017-06-02 08:49:50 +02:00
Alexander Neumann
363d8da2d1 Fix test path 2016-12-30 18:34:37 +01:00
Alexander Neumann
67fbfd5d07 Add build.go 2016-12-30 18:34:37 +01:00