Not even sure if this is sanely fixable (certainly the work-around is to not use build -O and call bundle separately), but wanted to note this down anyway.
[17:37 me ~/.../foo/bar]$ pulp build -- --dump-corefn
* Building project in /home/me/c/ps/foo/bar
* Build successful.
[17:37 me ~/.../foo/bar]$ pulp build -O -- --dump-corefn
* Building project in /home/me/c/ps/foo/bar
* Build successful.
* Bundling JavaScript...
Invalid option `--dump-corefn'
Usage: purs COMMAND
The PureScript compiler and tools
* ERROR: Subcommand terminated with exit code 1
[17:37 me ~/.../foo/bar]$
Not even sure if this is sanely fixable (certainly the work-around is to not use
build -O
and callbundle
separately), but wanted to note this down anyway.