file-store/Makefile

16 lines
372 B
Makefile
Raw Normal View History

.PHONY: all build protoc test
2022-08-24 02:54:01 +00:00
all: build
protoc:
rm -rf pkg/proto
mkdir pkg/proto
PATH="$(PWD)/local/bin" protoc -I=proto --go_out=. --go-grpc_out=. proto/FiLeStore.proto
build: protoc
2022-08-24 02:54:01 +00:00
GOOS=windows GOARCH=amd64 go build -o fls-windows-amd64.exe .
GOOS=linux GOARCH=amd64 go build -o fls-linux-amd64 .
test:
go test git.keganmyers.com/terribleplan/file-store/...