File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ DEPENDENCIES =
77BASE_PATH := $(shell pwd)
88BUILD_PATH := $(BASE_PATH ) /build
99VERSION ?= $(shell git branch 2> /dev/null | sed -e '/^[^* ]/d' -e 's/* \(.* \) /\1/')
10- BUILD ?= $(shell date)
10+ BUILD ?= $(shell date --utc --rfc-3339=seconds | tr ' ' 'T' )
1111ASSETS := static
1212
1313# PACKAGES
@@ -27,7 +27,7 @@ all: test build
2727
2828build : dependencies
2929 for cmd in $( COMMANDS) ; do \
30- $(GOCMD ) build -ldflags " -X main.version $( VERSION) -X main.build \" $( BUILD) \" " $$ {cmd}.go; \
30+ $(GOCMD ) build -ldflags " -X main.version= $( VERSION) -X main.build= $( BUILD) " $$ {cmd}.go; \
3131 done
3232
3333test : dependencies
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ type PutCommand struct {
1212 Body string `short:"b" long:"body" description:"plain text data for the job." required:"true"`
1313 Priority uint32 `short:"p" long:"priority" description:"priority for the job." default:"1024"`
1414 Delay time.Duration `short:"d" long:"delay" description:"delay for the job." default:"0"`
15- TTR time.Duration `short:"" long:"ttr" description:"TTR for the job." default:"60 "`
15+ TTR time.Duration `short:"" long:"ttr" description:"TTR for the job." default:"60s "`
1616
1717 Command
1818}
You can’t perform that action at this time.
0 commit comments