diff options
author | drebs <drebs@riseup.net> | 2017-09-02 10:54:36 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-09-05 11:17:51 -0300 |
commit | 55c8af06488e7061b5e7a53595258180a78b7ef9 (patch) | |
tree | e97df528f8c30dcaaf7ca033ed8fc68e38fec08b /scripts/legacy-vs-blobs/makefile | |
parent | e8cc3ca3d4ea868a971ae2479333a4e1807cf8be (diff) |
[test] add script and data to plot legacy-vs-blobs
Diffstat (limited to 'scripts/legacy-vs-blobs/makefile')
-rw-r--r-- | scripts/legacy-vs-blobs/makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/legacy-vs-blobs/makefile b/scripts/legacy-vs-blobs/makefile new file mode 100644 index 00000000..649e181c --- /dev/null +++ b/scripts/legacy-vs-blobs/makefile @@ -0,0 +1,14 @@ +VIRTUALENV_NAME = plot +VIRTUALENV_ROOT = ~/.virtualenvs/$(VIRTUALENV_NAME) + +all: graph + +env: + if [ ! -d $(VIRTUALENV_ROOT) ]; then \ + mkdir -p $$(dirname $(VIRTUALENV_ROOT)); \ + virtualenv $(VIRTUALENV_ROOT); \ + $(VIRTUALENV_ROOT)/bin/pip install requirements.pip; \ + fi + +graph: env + $(VIRTUALENV_ROOT)/bin/python ./legacy-vs-blobs.py |