-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
48 lines (40 loc) · 1.25 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Change as needed
python_ver='python3.9'
# Keep this first so 'make' works
# Install Package
install:
$(python_ver) setup.py install
# Check linting
check:
$(python_ver) -m pylint messari/*py
$(python_ver) -m pylint messari/*/*py
$(python_ver) -m pylint unit_testing/*py
# $(python_ver) unit_testing/optimisticetherscan_tests.py
# Test Library
test:
$(python_ver) unit_testing/messari_tests.py
$(python_ver) unit_testing/defillama_tests.py
$(python_ver) unit_testing/tokenterminal_tests.py
$(python_ver) unit_testing/deepdao_tests.py
$(python_ver) unit_testing/etherscan_tests.py
$(python_ver) unit_testing/arbiscan_tests.py
$(python_ver) unit_testing/bscscan_tests.py
$(python_ver) unit_testing/ftmscan_tests.py
$(python_ver) unit_testing/polygonscan_tests.py
$(python_ver) unit_testing/snowtrace_tests.py
$(python_ver) unit_testing/solscan_tests.py
$(python_ver) unit_testing/upshot_tests.py
$(python_ver) unit_testing/nftpricefloor_tests.py
$(python_ver) unit_testing/nonfungible_tests.py
# Make documentation
docs:
sphinx-apidoc -f -o docs/source/ messari
# Clean up after build
clean:
rm -r build dist messari.egg-info
# Uninstall package
uninstall:
$(python_ver) -m pip uninstall messari
# List options
list:
@grep '^[^#[:space:]].*:' Makefile