diff --git a/tools/when/default.nix b/tools/when/default.nix new file mode 100644 index 000000000..1aee5e1ea --- /dev/null +++ b/tools/when/default.nix @@ -0,0 +1,6 @@ +{ depot, ... }: + +depot.nix.buildGo.program { + name = "when"; + srcs = [ ./when.go ]; +} diff --git a/tools/when/when.go b/tools/when/when.go new file mode 100644 index 000000000..3102328fe --- /dev/null +++ b/tools/when/when.go @@ -0,0 +1,141 @@ +package main + +import ( + "fmt" + "os" + "strconv" + "time" +) + +const usage = `usage: when