1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-09 09:35:03 +09:00
any-sync/Makefile
Sergey Cherepanov 0ed7b8162a
file-node
2022-12-14 16:37:59 +03:00

31 lines
No EOL
564 B
Makefile

export GOPRIVATE=github.com/anytypeio
ifndef $(GOPATH)
GOPATH=$(shell go env GOPATH)
export GOPATH
endif
ifndef $(GOROOT)
GOROOT=$(shell go env GOROOT)
export GOROOT
endif
export PATH=$(GOPATH)/bin:$(shell echo $$PATH)
proto:
$(MAKE) -C common proto
$(MAKE) -C consensus proto
$(MAKE) -C client proto
build:
$(MAKE) -C node build
$(MAKE) -C filenode build
$(MAKE) -C consensus build
$(MAKE) -C client build
test:
$(MAKE) -C node test
$(MAKE) -C filenode test
$(MAKE) -C consensus test
$(MAKE) -C common test
$(MAKE) -C client test