fix makefile to properly autobuild
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
9bb7021787
commit
93698fb6b3
12
Makefile
12
Makefile
|
@ -1,10 +1,16 @@
|
||||||
# init the go mod files
|
all: go.mod
|
||||||
init:
|
|
||||||
go mod init go-notify-helloworld
|
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
go build
|
||||||
|
|
||||||
|
# init the go mod files
|
||||||
|
go.mod:
|
||||||
|
go mod init go-notify-helloworld
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build
|
go build
|
||||||
|
|
||||||
run:
|
run:
|
||||||
./go-notify-helloworld
|
./go-notify-helloworld
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f go.* go-notify-helloworld
|
||||||
|
|
Loading…
Reference in New Issue