File tree 3 files changed +26
-18
lines changed 3 files changed +26
-18
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" : " fullscreen.bs" ,
3
- "type" : " bikeshed" ,
4
- "params" : {
5
- "force" : 1 ,
6
- "md-status" : " LS-COMMIT" ,
7
- "md-h1" : " Fullscreen API <small>(<a href=\" {{ pull_request.html_url }}\" >PR #{{ pull_request.number }}</a>)</small>" ,
8
- "md-warning" : " Commit {{ short_sha }} {{ pull_request.head.repo.html_url }}/commit/{{ sha }} replaced by {{ config.ls_url }}" ,
9
- "md-title" : " {{ config.title }} (Pull Request Snapshot #{{ pull_request.number }})" ,
10
- "md-Text-Macro" : " SNAPSHOT-LINK {{ config.back_to_ls_link }}"
11
- },
12
- "ls_url" : " https://fullscreen.spec.whatwg.org/" ,
13
- "title" : " Fullscreen API Standard" ,
14
- "back_to_ls_link" : " <a href=\" https://fullscreen.spec.whatwg.org/\" id=\" commit-snapshot-link\" >Go to the living standard</a>"
2
+ "src_file" : " fullscreen.bs" ,
3
+ "type" : " bikeshed" ,
4
+ "params" : {
5
+ "force" : 1 ,
6
+ "md-status" : " LS-PR" ,
7
+ "md-Text-Macro" : " PR-NUMBER {{ pull_request.number }}"
8
+ }
15
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 : fullscreen.bs
5
- curl https://api.csswg.org/bikeshed/ -f -F
[email protected] > fullscreen.html -F md-Text-Macro=
" SNAPSHOT-LINK LOCAL COPY"
5
+ @ (HTTP_STATUS=$$ (curl https://api.csswg.org/bikeshed/ \
6
+ --output fullscreen.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 fullscreen.html; echo " " ; \
14
+ rm -f fullscreen.html; \
15
+ exit 22 \
16
+ );
6
17
7
18
local : fullscreen.bs
8
- bikeshed spec fullscreen.bs fullscreen.html --md-Text-Macro=" SNAPSHOT-LINK LOCAL COPY"
19
+ bikeshed spec fullscreen.bs fullscreen.html --md-Text-Macro=" COMMIT-SHA LOCAL COPY"
9
20
10
21
deploy : fullscreen.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