mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
Update Makefile
This commit is contained in:
12
Makefile
12
Makefile
@@ -2,6 +2,7 @@ PYTHON := python3
|
|||||||
PYTEST := pytest
|
PYTEST := pytest
|
||||||
PIP := pip3
|
PIP := pip3
|
||||||
PYTEST_ARGS := -W ignore::DeprecationWarning -vv -x --log-level=DEBUG
|
PYTEST_ARGS := -W ignore::DeprecationWarning -vv -x --log-level=DEBUG
|
||||||
|
VERSION := `cat VERSION | sed 's/\.[0-9]*$$//'`
|
||||||
|
|
||||||
all: docs test
|
all: docs test
|
||||||
|
|
||||||
@@ -11,8 +12,17 @@ clean:
|
|||||||
develop:
|
develop:
|
||||||
$(PYTHON) setup.py develop
|
$(PYTHON) setup.py develop
|
||||||
|
|
||||||
|
dist:
|
||||||
|
$(PYTHON) setup.py sdist bdist_wheel
|
||||||
|
|
||||||
|
dist-upload:
|
||||||
|
$(PYTHON) -m twine upload dist/*
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
mkdocs build
|
mkdocs build -d ../docs/$(VERSION)/
|
||||||
|
|
||||||
|
docs-dev:
|
||||||
|
mkdocs build -d ../docs/dev/
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(PIP) install -r requirements.txt
|
$(PIP) install -r requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user