Files
gitlab.nvim/makefile
Louis LIN 59557e464b Feat: support nested folders in namespace (#87)
This MR fixes an issue with nested namespaces. It also adds CI to the project for Go tests.
2023-11-12 21:11:37 -05:00

20 lines
378 B
Makefile

default: help
PROJECTNAME=$(shell basename "$(PWD)")
## compile: build golang project
compile:
@cd cmd && go build -o bin && mv bin ../bin
## test: run golang project tests
test:
@cd cmd && go test -v
.PHONY: help
all: help
help: makefile
@echo
@echo " Choose a command run in "$(PROJECTNAME)":"
@echo
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /'
@echo