I am currently trying to get ghcjs to work with stack lts-8.0. As part of this process I have had to update various packages in ghcjs-boot (eg base, directory) and then fix patches for them.
Is there a way to test whether these packages compile as I am developing? At the moment I am running ghcjs-boot --dev every time I make a change, but this is very slow. I was hoping I could replicate the boot script by copying the command /..path/cabal --config-file install ./boot/directory ./boot/filepath ... --with-compiler ../ghcjs but this fails with cannot find .../ghcjs_boot.completed - naturally enough because the compiler has not booted yet!
I haven't been able to find the magic in the boot script yet that allows the command to work when run from ghcjs-boot.
I am currently trying to get ghcjs to work with stack lts-8.0. As part of this process I have had to update various packages in ghcjs-boot (eg base, directory) and then fix patches for them.
Is there a way to test whether these packages compile as I am developing? At the moment I am running
ghcjs-boot --dev
every time I make a change, but this is very slow. I was hoping I could replicate the boot script by copying the command/..path/cabal --config-file install ./boot/directory ./boot/filepath ... --with-compiler ../ghcjs
but this fails withcannot find .../ghcjs_boot.completed
- naturally enough because the compiler has not booted yet!I haven't been able to find the magic in the boot script yet that allows the command to work when run from ghcjs-boot.