This commit is contained in:
2022-12-04 13:19:21 +04:00
parent 7a8a1b4a4a
commit bc5b2b039a
13 changed files with 202 additions and 43 deletions

View File

@@ -16,6 +16,9 @@ run: ./mfer.cmd
./$<
./$< gen --ignore-dotfiles
test:
go test -v --timeout 3s ./...
$(PROTOC_GEN_GO):
test -e $(PROTOC_GEN_GO) || go install -v google.golang.org/protobuf/cmd/protoc-gen-go@latest
@@ -29,6 +32,7 @@ devprereqs:
mfer.cmd: $(PROTOC_GEN_GO) mfer/*.go internal/*/*.go cmd/*/*.go
protoc --version
cd mfer && go generate .
make test
cd cmd/mfer && go build -tags urfave_cli_no_docs -o ../../mfer.cmd $(GOFLAGS) .
clean: