diff options
Diffstat (limited to 'scripts/soledad_test_env/makefile')
-rw-r--r-- | scripts/soledad_test_env/makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/soledad_test_env/makefile b/scripts/soledad_test_env/makefile new file mode 100644 index 00000000..90465fb2 --- /dev/null +++ b/scripts/soledad_test_env/makefile @@ -0,0 +1,19 @@ +CLI := python ./soledad_test_env.py + +setup-env: + $(CLI) couch start + $(CLI) shared-db create + $(CLI) token-db create + $(CLI) token-db insert-token + $(CLI) user-db create + $(CLI) soledad-server start + +destroy-env: + $(CLI) soledad-server stop + $(CLI) user-db delete + $(CLI) token-db delete + $(CLI) shared-db delete + $(CLI) couch stop + +test: + $(CLI) soledad-client test |