mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
Fix web REPL build script, which was not copying some files
This commit is contained in:
parent
6fe8328a29
commit
aab3d41e9f
@ -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…
Reference in New Issue
Block a user