mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 06:46:15 +00:00
Tiny fixes to the Makefile
Properly write test_venv. Fix missing option to test target.
This commit is contained in:
@@ -48,12 +48,12 @@ ramdisk:
|
||||
ramdisk-virtualenv: ramdisk
|
||||
[ ! -e "/mnt/ramdisk/.venv/bin/activate" ] && \
|
||||
python -m venv /mnt/ramdisk/.venv
|
||||
echo "/mnt/ramdisk/.venv" >> $(venv_file)
|
||||
echo "/mnt/ramdisk/.venv" > $(venv_file)
|
||||
|
||||
.PHONY: virtualenv
|
||||
virtualenv:
|
||||
[ ! -e $(venv_dir) ] && rm -rvf $(venv_file) && python -m venv $(venv_dir)
|
||||
@echo $(venv_dir) >> $(venv_file)
|
||||
@echo $(venv_dir) > $(venv_file)
|
||||
|
||||
.PHONY: test-install
|
||||
test-install:
|
||||
@@ -74,7 +74,7 @@ tests: parallel ?= -n auto
|
||||
tests: suite ?=
|
||||
tests: submodules test-install
|
||||
source $(get_venv_path)/bin/activate && \
|
||||
pipenv run pytest -ra $(parallel) -vvv --full-trace --tb=long
|
||||
pipenv run pytest -ra $(parallel) -vvv --full-trace --tb=long $(suite)
|
||||
|
||||
.PHONY: vendor
|
||||
vendor: virtualenv
|
||||
|
||||
Reference in New Issue
Block a user