Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 969170b + 2bfb85e commit ddebb83Copy full SHA for ddebb83
2 files changed
.gitignore
@@ -8,6 +8,7 @@
8
.project
9
.pydevproject
10
.tox
11
+.venv.touch
12
/venv*
13
coverage-html
14
dist
Makefile
@@ -1,17 +1,27 @@
1
+
2
+REBUILD_FLAG =
3
4
.PHONY: all
5
all: venv test
6
7
.PHONY: venv
-venv:
- tox -e venv
+venv: .venv.touch
+ tox -e venv $(REBUILD_FLAG)
.PHONY: tests test
tests: test
-test:
- tox
+test: .venv.touch
+ tox $(REBUILD_FLAG)
15
16
17
+.venv.touch: setup.py requirements.txt requirements_dev.txt
18
+ $(eval REBUILD_FLAG := --recreate)
19
+ touch .venv.touch
20
21
22
.PHONY: clean
23
clean:
24
find . -iname '*.pyc' | xargs rm -f
25
rm -rf .tox
26
rm -rf ./venv-*
27
+ rm -f .venv.touch
0 commit comments