-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
43 lines (31 loc) · 894 Bytes
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Makefile for AtlasAPI Project
#
# Author : Joe.Drumgoole@mongodb.com
#
ROOT=${HOME}/GIT/atlasapi
PYTHON=python3
testcli:
(cd atlascli;make)
nosetest:
nosetests
test: nosetest testcli
echo "Tests completed"
prod_build:clean sdist
twine upload --verbose dist/* -u jdrumgoole
twine_test_test: sdist
twine upload --verbose --repository-url https://test.pypi.org/legacy/ dist/* -u jdrumgoole
twine_prod_test: sdist
twine upload --verbose dist/* -u jdrumgoole
test_build:test sdist
twine upload --verbose --repository-url https://test.pypi.org/legacy/ dist/* -u jdrumgoole
test_install:
pip3 install --index-url https://test.pypi.org/simple/ atlascli
sdist:
python setup.py sdist
clean:
rm -rf dist bdist sdist atlascli.egg-info
pip3 uninstall atlascli
keyring:
keyring set https://test.pypi.org/legacy/ jdrumgoole
keyring set https://upload.pypi.org/legacy/ jdrumgoole