diff options
| author | Jeff Carr <[email protected]> | 2024-11-07 13:03:42 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-07 13:03:42 -0600 |
| commit | 1b7db666f166ce375a377858404d9108a81e0e76 (patch) | |
| tree | a63a5821c452e3ff2ef928a4084e5c427045b6a4 /Makefile | |
| parent | d6f9401f6153abeb5b5ab1df61355569fc9d5a71 (diff) | |
update argv code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,13 @@ +VERSION = $(shell git describe --tags) + all: - GO111MODULE=off go build -v -x + GO111MODULE=off go build -v -x \ + -ldflags "-X main.VERSION=${VERSION}" + ./helloworld + +install: + GO111MODULE=off go install -v -x \ + -ldflags "-X main.VERSION=${VERSION}" ./helloworld gocui: |
