Rudimentary makefile
This commit is contained in:
parent
aca295f93a
commit
e0c7746d62
27
Makefile
Normal file
27
Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
BINDIR := bin
|
||||
EXECUTABLE_CLI := airshipadm
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
go build -o $(BINDIR)/$(EXECUTABLE_CLI)
|
||||
|
||||
.PHONY: test
|
||||
test: build
|
||||
test: unit-tests
|
||||
test: lint
|
||||
|
||||
.PHONY: unit-tests
|
||||
unit-tests:
|
||||
go test
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
@echo "TODO"
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -fr $(BINDIR)
|
||||
|
||||
.PHONY: docs
|
||||
docs:
|
||||
@echo "TODO"
|
Loading…
x
Reference in New Issue
Block a user