File tree 3 files changed +26
-12
lines changed
3 files changed +26
-12
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,16 @@ root = true
4
4
end_of_line = lf
5
5
insert_final_newline = true
6
6
charset = utf-8
7
- indent_size = 1
7
+ indent_size = 2
8
8
indent_style = space
9
9
trim_trailing_whitespace = true
10
10
max_line_length = 100
11
11
12
12
[Makefile ]
13
13
indent_style = tab
14
14
15
- [.travis.yml ]
16
- indent_size = 2
15
+ [* .bs ]
16
+ indent_size = 1
17
+
18
+ [* .py ]
19
+ indent_size = 4
Original file line number Diff line number Diff line change 1
1
{
2
- "src_file" : " fetch.bs" ,
3
- "type" : " bikeshed" ,
4
- "params" : {
5
- "force" : 1 ,
6
- "md-status" : " LS-PR" ,
7
- "md-Text-Macro" : " PR-NUMBER {{ pull_request.number }}"
8
- }
2
+ "src_file" : " fetch.bs" ,
3
+ "type" : " bikeshed" ,
4
+ "params" : {
5
+ "force" : 1 ,
6
+ "md-status" : " LS-PR" ,
7
+ "md-Text-Macro" : " PR-NUMBER {{ pull_request.number }}"
8
+ }
9
9
}
Original file line number Diff line number Diff line change @@ -2,10 +2,21 @@ SHELL=/bin/bash -o pipefail
2
2
.PHONY : local remote deploy review
3
3
4
4
remote : fetch.bs
5
- curl https://api.csswg.org/bikeshed/ -f -F
[email protected] > fetch.html -F md-Text-Macro=
" SNAPSHOT-LINK LOCAL COPY"
5
+ @ (HTTP_STATUS=$$ (curl https://api.csswg.org/bikeshed/ \
6
+ --output fetch.html \
7
+ --write-out " %{http_code}" \
8
+ --header " Accept: text/plain, text/html" \
9
+ -F die-on=warning \
10
+ -F md-Text-Macro=" COMMIT-SHA LOCAL COPY" \
11
+
12
+ [[ " $$ HTTP_STATUS" -eq " 200" ]]) || ( \
13
+ echo " " ; cat fetch.html; echo " " ; \
14
+ rm -f fetch.html; \
15
+ exit 22 \
16
+ );
6
17
7
18
local : fetch.bs
8
- bikeshed spec fetch.bs fetch.html --md-Text-Macro=" SNAPSHOT-LINK LOCAL COPY"
19
+ bikeshed spec fetch.bs fetch.html --md-Text-Macro=" COMMIT-SHA LOCAL COPY"
9
20
10
21
deploy : fetch.bs
11
22
curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh
You can’t perform that action at this time.
0 commit comments