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
2022-11-30 22:09:18 +01:00

27 lines
No EOL
462 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 consensus build
test:
$(MAKE) -C node test
$(MAKE) -C consensus test
$(MAKE) -C common test