Skip to content

Commit

Permalink
rm time
Browse files Browse the repository at this point in the history
  • Loading branch information
cdalar authored Apr 24, 2024
1 parent e5302f0 commit 5507823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ all: build
build:
export CGO_ENABLED=0
$(GO_CMD) mod tidy
time $(GO_CMD) build -ldflags="-w -s -X 'github.com/cdalar/onctl/cmd.Version=`git rev-parse HEAD | cut -c1-7`' \
$(GO_CMD) build -ldflags="-w -s -X 'github.com/cdalar/onctl/cmd.Version=`git rev-parse HEAD | cut -c1-7`' \
-X 'github.com/cdalar/onctl/cmd.BuildTime=`date -u '+%Y-%m-%d %H:%M:%S'`' \
-X 'github.com/cdalar/onctl/cmd.GoVersion=`go version`'" \
-o $(BINARY_NAME) main.go
Expand Down

0 comments on commit 5507823

Please sign in to comment.