| PATH := $(JIRI_ROOT)/release/projects/sensorlog/go/bin:$(JIRI_ROOT)/release/go/bin:$(PATH) |
| SHELL := /bin/bash -euo pipefail |
| export GOPATH := $(JIRI_ROOT)/release/projects/sensorlog/go:$(GOPATH) |
| export VDLPATH := $(JIRI_ROOT)/release/projects/sensorlog/go/src:$(VDLPATH) |
| |
| .DELETE_ON_ERROR: |
| |
| .PHONY: all |
| all: measured slcli |
| |
| .PHONY: measured |
| measured: |
| jiri go install v.io/x/sensorlog/measured |
| |
| .PHONY: slcli |
| slcli: |
| jiri go install v.io/x/sensorlog/slcli |
| |
| .PHONY: run-deps |
| run-deps: |
| jiri go install v.io/x/ref/services/mounttable/mounttabled |
| jiri go install v.io/x/ref/services/syncbase/syncbased |
| jiri go install v.io/x/ref/services/agent/vbecome |
| jiri go install v.io/x/ref/cmd/principal |
| |
| .PHONY: test |
| test: |
| jiri go test v.io/x/sensorlog/... |
| jiri go test v.io/x/sensorlog/internal/client -run=TestV23* -v23.tests |
| |
| .PHONY: clean |
| clean: |
| rm -rf "${JIRI_ROOT}"/release/projects/sensorlog/go/{bin,pkg} |