diff options
author | Félix Sipma <felix+debian@gueux.org> | 2017-01-08 15:32:30 +0100 |
---|---|---|
committer | Félix Sipma <felix+debian@gueux.org> | 2017-01-08 15:32:30 +0100 |
commit | 2d97cde7a4b935ade9d8dbf05dff136fac357e3b (patch) | |
tree | 669034103e71a0080479afe31bc69101fa68a8d7 /build.go | |
parent | fb6c3cf716ad4b0d5c287ed05ba889d777681bdb (diff) |
New upstream version 0.3.3
Diffstat (limited to 'build.go')
-rw-r--r-- | build.go | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -12,7 +12,6 @@ import ( "path/filepath" "runtime" "strings" - "time" ) var ( @@ -33,8 +32,6 @@ var config = struct { Tests: []string{"restic/...", "cmds/..."}, // tests to run } -const timeFormat = "2006-01-02 15:04:05" - // specialDir returns true if the file begins with a special character ('.' or '_'). func specialDir(name string) bool { if name == "." { @@ -392,8 +389,7 @@ func main() { output := filepath.Join(cwd, outputFilename) version := getVersion() - compileTime := time.Now().Format(timeFormat) - constants := Constants{`main.compiledAt`: compileTime} + constants := Constants{} if version != "" { constants["main.version"] = version } |