jenkins: Add scripts for automated builds (Linux & Mac)

This commit is contained in:
Jakob Borg
2016-08-14 22:48:11 +02:00
committed by Jakob Borg
parent 7990ffcc60
commit abb0cfde72
4 changed files with 185 additions and 1 deletions

View File

@@ -642,7 +642,9 @@ func ldflags() string {
func rmr(paths ...string) {
for _, path := range paths {
log.Println("rm -r", path)
if debug {
log.Println("rm -r", path)
}
os.RemoveAll(path)
}
}