Skip to content

Commit 22e75bf

Browse files
authored
Merge branch 'main' into add-subgroup-size-control
2 parents 07a258e + 5ee37ea commit 22e75bf

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ correspondence/index.html
2121
tools/node_modules/
2222
.DS_Store
2323
**/__pycache__
24+
.python-version

tools/invoke-bikeshed.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -euo pipefail
44
if [ $# -lt 1 ] ; then
55
echo "Usage: $0 output.html SOURCE_FILES..."
66
echo
7-
echo "Invokes the locally-installed 'bikeshed' if available, and falls back to the"
8-
echo "Bikeshed API (api.csswg.org/bikeshed) if not. One of the source files must be"
7+
echo "Invokes the locally-installed 'bikeshed' if available, and falls back to"
8+
echo "spec-generator (www.w3.org/publications/spec-generator/) if not. One of the source files must be"
99
echo "'index.bs'."
1010
echo
1111
echo 'Set the $DIE_ON environment variable to use the --die-on option, e.g.:'
@@ -43,11 +43,11 @@ elif [ -z "${BIKESHED_DISALLOW_ONLINE:=}" ] ; then
4343
tmp_headers=$(mktemp) # Contains response headers
4444
trap 'rm -f -- "$tmp_body" "$tmp_headers"' EXIT
4545

46-
opts=()
46+
opts=("--form" "type=bikeshed-spec")
4747
if [ "${DIE_ON:=}" ] ; then
4848
opts+=("--form" "die-on=$DIE_ON")
4949
fi
50-
tar c "$@" | curl --silent https://api.csswg.org/bikeshed/ --form "file=@-" "${opts[@]}" --output "$tmp_body" --dump-header "$tmp_headers"
50+
tar c "$@" | curl --silent https://www.w3.org/publications/spec-generator/ --form "file=@-" "${opts[@]}" --output "$tmp_body" --dump-header "$tmp_headers"
5151

5252
if head --lines=1 "$tmp_headers" | grep --quiet '\<200\>' ; then
5353
# If successful, write to output file

0 commit comments

Comments
 (0)