forked from sovrin-foundation/token-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (18 loc) · 1.15 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
SHELL := /usr/bin/env bash
pwd = $(shell pwd)
dirname = $(shell basename ${pwd})
setup:
docker exec -u 0 -ti ${dirname:=_token_1} /bin/bash -c 'bash -x install_payment_plugins.sh'
test:
docker exec -u 0 -ti ${dirname:=_token_1} /bin/bash -c 'cd sovtoken/ && pytest sovtoken/test/'
test_fees:
docker exec -u 0 -ti ${dirname:=_token_1} /bin/bash -c 'cd sovtokenfees/ && pytest sovtokenfees/test/'
test_helpers:
docker exec -u 0 -ti ${dirname:=_token_1} /bin/bash -c 'cd sovtokenfees/sovtokenfees/test/helpers/test && pytest --test_helpers'
start:
docker-sync-stack start
deps:
docker exec -u 0 -ti ${dirname:=_token_1} /bin/bash -c 'sed s/msgpack==0.4.6-1build1/python-msgpack==0.4.6/ /usr/local/lib/python3.5/dist-packages/indy_plenum-1.6.51-py3.5.egg-info/requires.txt > /usr/local/lib/python3.5/dist-packages/indy_plenum-1.6.51-py3.5.egg-info/requires.txt'
docker exec -u 0 -ti ${dirname:=_token_1} /bin/bash -c 'sed s/ujson==1.33-1build1/ujson==1.33/ /usr/local/lib/python3.5/dist-packages/indy_plenum-1.6.51-py3.5.egg-info/requires.txt > /usr/local/lib/python3.5/dist-packages/indy_plenum-1.6.51-py3.5.egg-info/requires.txt '
clean:
docker-sync-stack clean