Makefile
raw| 1 | .PHONY: all test test-no-multiprocessing test-doc doc doc-clean |
| 2 | |
| 3 | all: test |
| 4 | |
| 5 | test: |
| 6 | pytest joblib --timeout 30 -vl |
| 7 | |
| 8 | test-no-multiprocessing: |
| 9 | export JOBLIB_MULTIPROCESSING=0 && pytest joblib |
| 10 | |
| 11 | test-doc: |
| 12 | pytest $(shell find doc -name '*.rst' | sort) |
| 13 | |
| 14 | # generate html documentation using sphinx |
| 15 | doc: |
| 16 | make -C doc |
| 17 | |
| 18 | # clean documentation |
| 19 | doc-clean: |
| 20 | make -C doc clean |