File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ correspondence/index.html
2121tools /node_modules /
2222.DS_Store
2323** /__pycache__
24+ .python-version
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ set -euo pipefail
44if [ $# -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
You can’t perform that action at this time.
0 commit comments