TASK := $(shell { command -v task 2>/dev/null || command -v go-task 2>/dev/null || true; })

BIN  := rejig
DEF  := build
UTIL := clean cov coverage debug intcov lint tags
DIST := container cntlocal install login release release-native

$(DEF) $(BIN) $(UTIL) $(DIST):
	$(TASK) $@

test:
	$(TASK) BRANCH=trunk test
