-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
46 lines (30 loc) · 817 Bytes
/
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
# This Makefile is for convenience as a reminder and shortcut for the most used commands
# Package folder
PACKAGE = flexrilog
# change to your sage command if needed
SAGE = sage
all: install test
install:
$(SAGE) -pip install --upgrade -v .
install-user:
$(SAGE) -pip install --upgrade --user -v .
uninstall:
$(SAGE) -pip uninstall $(PACKAGE)
develop:
$(SAGE) -pip install --upgrade -e .
test:
$(SAGE) setup.py test
test-long:
$(SAGE) setup.py testLong
test-all:
$(SAGE) setup.py testAll
coverage:
$(SAGE) -coverage $(PACKAGE)/*
doc:
cd doc && $(SAGE) -sh -c "make html"
doc-pdf:
cd doc && $(SAGE) -sh -c "make latexpdf"
clean: clean-doc
clean-doc:
cd doc && $(SAGE) -sh -c "make clean"
.PHONY: all install install-user develop test test-long test-all coverage clean clean-doc doc doc-pdf