blob: 9b44e5cf71ce38651173c263a61a215053513a67 [file] [log] [blame]
syncbase_port ?= 4000
PATH := ./bin/:$(PATH)
bin/principal:
jiri go build -a -o $@ v.io/x/ref/cmd/principal
credentials: bin/principal
bin/principal seekblessings --v23.credentials credentials
touch $@
.PHONY:
hearts: fmt credentials
jiri go build hearts
./hearts \
--v23.proxy=proxy \
--v23.tcp.address=:$(syncbase_port) \
--v23.credentials=credentials
test:
jiri go test hearts/...
fmt:
jiri go fmt hearts/...
vet:
jiri go vet hearts/...