github.com/couchbaselabs/nex@v0.0.0-20230419191105-421cb5932838/Makefile (about) 1 export GOPATH := $(abspath ../..) 2 export NEX := $(abspath ../../bin/nex) 3 4 all: $(NEX) test 5 6 $(NEX): main.go nex.go 7 go fmt nex 8 go install nex 9 10 test: $(NEX) $(shell find test -type f) 11 go fmt nex nex/test 12 go test nex nex/test 13 14 clean: 15 rm -f $(NEX) 16 17 .PHONY: all test clean