* fix: error messages and run all tests (#381) * feat: Automatically open fold under cursor (#380) * fix: discussion ID is not required (#383) This is a #PATCH release. --------- Co-authored-by: George Kontridze <george.kontridze@gmail.com> Co-authored-by: Jakub F. Bortlík <jakub.bortlik@proton.me>
20 lines
353 B
Makefile
20 lines
353 B
Makefile
default: help
|
|
|
|
PROJECTNAME=$(shell basename "$(PWD)")
|
|
|
|
## compile: build golang project
|
|
compile:
|
|
@go build -o bin ./cmd
|
|
## test: run golang project tests
|
|
test:
|
|
@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
|