You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MIPLearn/Makefile

26 lines
508 B

PYTEST_ARGS := -W ignore::DeprecationWarning -vv -x --log-level=DEBUG
all: docs test
develop:
cd src/python && python setup.py develop
julia --project=src/julia -e "using Pkg; Pkg.instantiate()"
install:
cd src/python && python setup.py install
julia --project=src/julia -e "using Pkg; Pkg.instantiate()"
uninstall:
pip uninstall miplearn
docs:
mkdocs build
test:
cd src/python && pytest $(PYTEST_ARGS)
test-watch:
cd src/python && pytest-watch -- $(PYTEST_ARGS)
.PHONY: test test-watch docs