Rudimentary makefile

This commit is contained in:
Ian Howell 2019-04-26 11:33:16 -05:00
parent aca295f93a
commit e0c7746d62

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"