Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ SHELL=/bin/bash -o pipefail
.PHONY: local remote deploy

remote: dom.bs
@ (HTTP_STATUS=$$(curl https://api.csswg.org/bikeshed/ \
@ (HTTP_STATUS=$$(curl https://www.w3.org/publications/spec-generator/ \
--output dom.html \
--write-out "%{http_code}" \
--header "Accept: text/plain, text/html" \
-F die-on=warning \
-F md-Text-Macro="COMMIT-SHA LOCAL COPY" \
-F file=@dom.bs) && \
-F file=@dom.bs \
-F type=bikeshed-spec \
-F output=html) && \
[[ "$$HTTP_STATUS" -eq "200" ]]) || ( \
echo ""; cat dom.html; echo ""; \
rm -f dom.html; \
Expand Down