forked from BuildACell/bioCRNpyler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (22 loc) · 707 Bytes
/
Makefile
File metadata and controls
27 lines (22 loc) · 707 Bytes
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
# make file to automate certain tasks in BioCRNpyler installation and tests
#
# !!!make sure you use TABs instead of 4 spaces once you edit this file!!!
#
# test the core functionality of the toolbox
test :
python setup.py test
# run the test suite with all dependencies
test_all :
pip install .[all]
python setup.py test
# test for default mutable arguments in the code
flake8-mutable:
flake8 --select M biocrnpyler
if [[ `flake8 --select M biocrnpyler` ]]; then >&2 echo "default mutable argument detected"; exit 1 ; fi
install :
python setup.py install
# running the test in Travis requires these packages
get_test_deps :
pip install codecov
pip install flake8-mutable
pip install flake8