We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42dec26 commit 391a9c0Copy full SHA for 391a9c0
compile.sh
@@ -1,13 +1,13 @@
1
#!/bin/bash
2
set -e # Exit with nonzero exit code if anything fails
3
4
-INPUT_FILE=$(find . -maxdepth 2 -name "*.bs" -print -quit)
5
-
6
curlretry() {
7
curl --retry 2 "$@"
8
}
9
10
curlbikeshed() {
+ INPUT_FILE=$(find . -maxdepth 1 -name "*.bs" -print -quit)
+
11
# The Accept: header ensures we get the error output even when warnings are produced, per
12
# https://github.com/whatwg/whatwg.org/issues/227#issuecomment-419969339.
13
HTTP_STATUS=$(curlretry https://api.csswg.org/bikeshed/ \
@@ -25,7 +25,7 @@ curlbikeshed() {
25
fi
26
27
28
-curlbikeshed "index.html"
+cd docs && curlbikeshed "index.html"
29
30
if [ -d out ]; then
31
echo Copy the generated spec into out/index.html
0 commit comments