mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Fix web REPL build script, which was not copying some files
This commit is contained in:
parent
6fe8328a29
commit
aab3d41e9f
1 changed files with 6 additions and 0 deletions
|
@ -37,3 +37,9 @@ fi
|
|||
BINDGEN_FILE="roc_repl_wasm.js"
|
||||
echo 'var __wbg_star0 = { now: Date.now };' > $WWW_ROOT/$BINDGEN_FILE
|
||||
grep -v '^import' repl_wasm/pkg/$BINDGEN_FILE >> $WWW_ROOT/$BINDGEN_FILE
|
||||
|
||||
# Copy static files
|
||||
if [[ $WWW_ROOT != repl_www/public ]]
|
||||
then
|
||||
cp -r repl_www/public/* $WWW_ROOT
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue