diff options
author | Elvis Pranskevichus <elvis@magic.io> | 2020-04-22 18:11:47 -0700 |
---|---|---|
committer | Elvis Pranskevichus <elvis@magic.io> | 2020-04-22 18:51:13 -0700 |
commit | 85af8df6b15dd57d391880fe76f8a5324385cd13 (patch) | |
tree | 14d010e45c5f527dc61b153beee930f95ec8a792 /Makefile | |
parent | 60252260070137dd75f09d99a50c5dc624dea439 (diff) | |
download | immutables-4607cffacf494c4a14187dec9c07f13bface12d9.tar.gz immutables-4607cffacf494c4a14187dec9c07f13bface12d9.zip |
Add Github release workflowv0.12
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -1,11 +1,20 @@ -.PHONY: rtest build test clean +.PHONY: rtest build test clean all +PYTHON ?= python +ROOT = $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) + + +all: build + build: - python setup.py build_ext --inplace + $(PYTHON) setup.py build_ext --inplace + +debug: + DEBUG_IMMUTABLES=1 $(PYTHON) setup.py build_ext --inplace test: - python setup.py test -v + $(PYTHON) setup.py test -v rtest: ~/dev/venvs/36-debug/bin/python setup.py build_ext --inplace @@ -14,8 +23,11 @@ rtest: ~/dev/venvs/36-debug/bin/python -m test.regrtest -R3:3 --testdir tests/ clean: - find . -name '*.pyc' | xargs rm - find . -name '*.so' | xargs rm + find . -name '*.pyc' | xargs rm -f + find . -name '*.so' | xargs rm -f rm -rf ./build rm -rf ./dist rm -rf ./*.egg-info + +testinstalled: + cd /tmp && $(PYTHON) $(ROOT)/tests/__init__.py |