Skip to content

Commit 50b5b3d

Browse files
committed
Meta: update repository files
See https://github.com/whatwg/spec-factory for details.
1 parent 1eb53ea commit 50b5b3d

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

.editorconfig

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ root = true
44
end_of_line = lf
55
insert_final_newline = true
66
charset = utf-8
7-
indent_size = 1
7+
indent_size = 2
88
indent_style = space
99
trim_trailing_whitespace = true
1010
max_line_length = 100
1111

1212
[Makefile]
1313
indent_style = tab
1414

15-
[.travis.yml]
16-
indent_size = 2
15+
[*.bs]
16+
indent_size = 1
17+
18+
[*.py]
19+
indent_size = 4

.pr-preview.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
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+
}
99
}

Makefile

+13-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,21 @@ SHELL=/bin/bash -o pipefail
22
.PHONY: local remote deploy review
33

44
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+
);
617

718
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"
920

1021
deploy: fetch.bs
1122
curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh

0 commit comments

Comments
 (0)