diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-09-26 22:54:50 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-09-27 14:35:03 +0200 | 
| commit | f340f74e1d06aa588dd075f3922505878915da01 (patch) | |
| tree | 931201616669a5a96d6eef5e09b4462df3572e79 /Makefile | |
init
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4c6863a --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +VERSION= $(shell git describe --tags)  +LDFLAGS = -X "main.airVersion=$(VVERSION)" + +build:  +	go build -ldflags '$(LDFLAGS)' + +install:  +	go install -ldflags '$(LDFLAGS)' | 
