www: Explicitly list downloaded REPL filenames, to fail build if not found

This commit is contained in:
Brian Carroll 2022-07-12 08:01:52 +01:00
parent 5246e3fa1c
commit e17ce60a93
No known key found for this signature in database
GPG Key ID: 9CF4E3BF9C4722C7

View File

@ -19,7 +19,9 @@ wget https://github.com/rtfeldman/elm-css/files/8849069/roc-source-code.zip
# TODO: When roc repo is public, download it from nightly builds.
wget https://github.com/brian-carroll/mock-repl/archive/refs/heads/deploy.zip
unzip deploy.zip
mv mock-repl-deploy/* repl/
# Explicitly list the filenames, failing the build if they're not found
mv mock-repl-deploy/roc_repl_wasm.js repl/
mv mock-repl-deploy/roc_repl_wasm_bg.wasm repl/
rmdir mock-repl-deploy
rm deploy.zip