We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e7598d commit 35df5dcCopy full SHA for 35df5dc
www/build.sh
@@ -20,12 +20,13 @@ cp -r public/ build/
20
21
# download the latest code for the examples
22
echo 'Downloading latest examples...'
23
-curl -fLJO https://github.com/roc-lang/examples/archive/refs/heads/main.zip
24
-unzip examples-main.zip
+curl -fL -o examples-main.zip https://github.com/roc-lang/examples/archive/refs/heads/main.zip
+rm -rf examples-main/
25
+unzip -o examples-main.zip
26
cp -R examples-main/examples/ content/examples/
27
28
# relace links in content/examples/index.md to work on the WIP site
-sed -i'' 's|](/|](/examples/|' content/examples/index.md
29
+perl -pi -e 's|\]\(/|\]\(/examples/|g' content/examples/index.md
30
31
# clean up examples artifacts
32
rm -rf examples-main examples-main.zip
0 commit comments