diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/conformance-checkers/Makefile | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/Makefile')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/Makefile b/testing/web-platform/tests/conformance-checkers/Makefile new file mode 100644 index 000000000..161c8db7d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/Makefile @@ -0,0 +1,43 @@ +HTML2MARKDOWN=html2text +PERL=perl +PERLFLAGS= +FMT=fmt +FMTFLAGS=-80 +EXPAND=expand +EXPANDFLAGS= +GIT=git +GITFLAGS= +PYTHON=python +PYTHONFLAGS= +VNU_TEST_REPO=git@github.com:validator/tests.git +ITS_REPO=git@github.com:w3c/its-2.0-testsuite-inputdata.git +.PHONY: .FORCE + +all: README.md messages.json + +README.md: index.html + $(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< \ + | $(PERL) $(PERLFLAGS) -pe 'undef $$/; s/(\s+\n)+/\n\n/g' \ + | $(PERL) $(PERLFLAGS) -pe 'undef $$/; s/(\n\n\n)+/\n/g' \ + | $(FMT) $(FMTFLAGS) \ + | $(PERL) $(PERLFLAGS) -pe 'undef $$/; s/ +(\[[0-9]+\]:)\n +/\n $$1 /g' \ + | $(EXPAND) $(EXPANDFLAGS) > $@ + +messages.json: .FORCE + $(PYTHON) $(PYTHONFLAGS) -mjson.tool $@ > $@.tmp + mv $@.tmp $@ + +push: + cd .. \ + && git push $(VNU_TEST_REPO) `git subtree split -P conformance-checkers`:master --force \ + && cd - + +its-push: + cd ..\ + && $(GIT) subtree push -P conformance-checkers/html-its/ $(ITS_REPO) master \ + && cd - + +its-pull: + cd .. \ + && $(GIT) pull -s subtree $(ITS_REPO) master \ + && cd - |