Restored by recreating
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
245 B

  1. BUILD=`date +%FT%T%z`
  2. LDFLAGS=-ldflags "-X main.buildDate=${BUILD}"
  3. .PHONY: build deps static
  4. build:
  5. go build ${LDFLAGS}
  6. deps:
  7. go get
  8. static:
  9. CGO_ENABLED=0 GOOS=linux go build ${LDFLAGS} -a -installsuffix cgo -o karaokards .