diff options
Diffstat (limited to 'python/Makefile')
-rw-r--r-- | python/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/python/Makefile b/python/Makefile index 646f330..d5d88f8 100644 --- a/python/Makefile +++ b/python/Makefile @@ -8,10 +8,12 @@ .PHONY: all # Build .PHONY: build +# Develop +.PHONY: develop # Install .PHONY: install # Test -.PHONY: test tests +.PHONY: test # Clean .PHONY: clean # Format @@ -31,16 +33,17 @@ all: build build: $(EXTENSIONS) $(EXTENSIONS): $(EXT_SOURCES) + @cd .. && $(PYTHON) setup.py build_ext --inplace + +develop: @cd .. && $(PYTHON) setup.py develop install: @cd .. && $(PYTHON) setup.py install -test: tests - -tests: build +test: build @echo 'running tests' - @$(PYTHON) -m unittest discover -p '*_test.py' + @$(PYTHON) -m unittest discover -v -p '*_test.py' clean: @cd .. && $(PYTHON) setup.py clean |