refactor: Refactors the Go codebase into a more modular and idiomatic approach fix: require selection of specific MR when there are multiple targets for a given source branch feat: Allows for the passing of Gitlab's filter options when choosing an MR, improves MR selection feat: API to choose an MR from a list based on the provided username's involvement as an assignee/reviewer/author This is a #MINOR release
20 lines
379 B
Makefile
20 lines
379 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/app && go test
|
|
|
|
.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
|