Skip to content

Commit fdca600

Browse files
committed
use requirements.txt to install rfc-http-validate
1 parent fc83d3d commit fdca600

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*.redxml
44
*.swp
55
*.txt
6+
!requirements.txt
67
*.upload
78
*~
89
.DS_Store

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,8 @@ lint:: http-lint
2222
rfc-http-validate ?= rfc-http-validate
2323
.SECONDARY: $(drafts_xml)
2424
.PHONY: http-lint
25-
http-lint: http-lint-install $(addsuffix .http-lint.txt,$(addprefix .,$(drafts)))
25+
http-lint: $(addsuffix .http-lint.txt,$(addprefix .,$(drafts)))
2626
.PHONY: .%.http-lint.txt
2727
.%.http-lint.txt: %.xml $(DEPS_FILES)
2828
$(trace) $< -s http-lint $(rfc-http-validate) -q -m sf.json $<
2929
@touch $@
30-
31-
.PHONY: http-lint-install
32-
http-lint-install:
33-
@hash rfc-http-validate 2>/dev/null || pip3 install rfc-http-validate

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rfc-http-validate

0 commit comments

Comments
 (0)