Idris2/init-bootstrap

15 lines
392 B
Plaintext
Raw Normal View History

#!/bin/sh
make support
2020-05-18 18:06:44 +03:00
cp support/c/$IDRIS2_SUPPORT bootstrap/idris2-boot_app
cd bootstrap
sed s/libidris2_support.so/$IDRIS2_SUPPORT/g idris2-boot_app/idris2sh.ss > idris2-boot_app/idris2-boot.ss
${SCHEME} --script compile.ss
mkdir -p ../build/exec
mkdir -p ../build/exec/idris2-boot_app
install idris2-boot ../build/exec/idris2sh
install idris2-boot_app/* ../build/exec/idris2-boot_app