-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmakefile
29 lines (22 loc) · 1.52 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DIR := ${CURDIR}
HOME := $(HOME)
PROG := dynagrok/examples/linkedlist
install:
go install github.com/timtadh/dynagrok
clientbad:
git -C examples/src/dynagrok/examples/shapes checkout dynagrokfaulty
dynagrok -r ~/dev/repos/go-research -d ${HOME}/dynagrok/src/github.com/timtadh/dynagrok -g ${HOME}/dynagrok/src/github.com/timtadh/dynagrok/examples objectstate --keep-work -w /tmp/work dynagrok/examples/shapes/client
git -C examples/src/dynagrok/examples/shapes checkout dynagrok
clientgood:
git -C examples/src/dynagrok/examples/shapes checkout dynagrok
dynagrok -r ~/dev/repos/go-research -d ${HOME}/dynagrok/src/github.com/timtadh/dynagrok -g ${HOME}/dynagrok/src/github.com/timtadh/dynagrok/examples objectstate --keep-work -w /tmp/work dynagrok/examples/shapes/client
client:
dynagrok -r ~/dev/repos/go-research -d ${HOME}/dynagrok/src/github.com/timtadh/dynagrok -g ${HOME}/dynagrok/src/github.com/timtadh/dynagrok/examples objectstate --keep-work -w /tmp/work dynagrok/examples/shapes/client
prog:
dynagrok -r ~/dev/repos/go-research -d ${HOME}/dynagrok/src/github.com/timtadh/dynagrok -g ${HOME}/dynagrok/src/github.com/timtadh/dynagrok/examples objectstate --keep-work -w /tmp/work ${PROG}
method:
dynagrok -r ~/dev/repos/go-research -d ${HOME}/dynagrok/src/github.com/timtadh/dynagrok -g ${HOME}/dynagrok/src/github.com/timtadh/dynagrok/examples objectstate -m Move --keep-work -w /tmp/work dynagrok/examples/shapes/client
clean:
rm /tmp/work/goroot/src/dgruntime* -r
rm /tmp/work/goroot/pkg/linux_amd64/dgruntime* -r
#rm *.instr