forked from WICG/fenced-frame
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (20 loc) · 639 Bytes
/
Makefile
File metadata and controls
25 lines (20 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SHELL=/bin/bash
local: spec.bs
bikeshed --die-on=warning spec spec.bs spec.html
watch: spec.bs
bikeshed watch --die-on=warning spec.bs spec.html
spec.html: spec.bs
@ (HTTP_STATUS=$$(curl https://api.csswg.org/bikeshed/ \
--output spec.html \
--write-out "%{http_code}" \
--header "Accept: text/plain, text/html" \
-F die-on=warning \
-F file=@spec.bs) && \
[[ "$$HTTP_STATUS" -eq "200" ]]) || ( \
echo ""; cat spec.html; echo ""; \
rm -f spec.html; \
exit 22 \
);
remote: spec.html
clean:
rm spec.html