File tree 1 file changed +10
-12
lines changed
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 6
6
jsonschema-validation.html jsonschema-validation.txt \
7
7
relative-json-pointer.html relative-json-pointer.txt
8
8
9
- all : $(OUT )
9
+ all : $(VENV ) $( OUT )
10
10
11
11
% .txt : % .xml
12
12
$(XML2RFC ) --text $< -o $@
@@ -25,17 +25,15 @@ json-schema.tar.gz: $(OUT)
25
25
tar -czf json-schema.tar.gz --exclude ' .*' json-schema
26
26
rm -rf json-schema
27
27
28
- venv : $(VENV )
28
+ $(VENV ) : requirements.txt
29
+ python -m venv $@
30
+ $@ /bin/python -m pip install --upgrade pip
31
+ $@ /bin/python -m pip install -r requirements.txt
29
32
30
- $(VENV ) :
31
- python -m venv .venv
32
- . .venv/bin/activate && python -m pip install --upgrade pip setuptools wheel
33
- . .venv/bin/activate && python -m pip install -r requirements.txt
34
-
35
- venv-clean :
36
- rm -rf .venv
37
-
38
- clean :
33
+ spec-clean :
39
34
rm -f $(OUT ) json-schema.tar.gz
40
35
41
- .PHONY : clean all
36
+ clean : spec-clean
37
+ rm -rf $(VENV )
38
+
39
+ .PHONY : spec-clean clean all
You can’t perform that action at this time.
0 commit comments