vector-bundles-sagemath/makefile

41 lines
688 B
Makefile
Raw Permalink Normal View History

2024-02-26 17:48:12 +01:00
# This Makefile is for convenience as a reminder and shortcut for the most used commands
# Package folder
PACKAGE = vector_bundle
# change to your sage command if needed
SAGE = sage
all: install test
install:
$(SAGE) -pip install --upgrade -v .
uninstall:
$(SAGE) -pip uninstall $(PACKAGE)
develop:
$(SAGE) -pip install --upgrade -e .
test:
$(SAGE) setup.py test
debug:
$(SAGE) setup.py debug
2024-02-26 17:48:12 +01:00
coverage:
$(SAGE) -coverage $(PACKAGE)/*
doc:
cd docs && $(SAGE) -sh -c "make html"
doc-pdf:
cd docs && $(SAGE) -sh -c "make latexpdf"
clean: clean-doc
clean-doc:
cd docs && $(SAGE) -sh -c "make clean"
.PHONY: all install develop test coverage clean clean-doc doc doc-pdf