bsansouci / bsb-native

Build system for OCaml/Reason
Other
245 stars 10 forks source link

Strange behavior when compiling to a nonsense backend #13

Closed Schmavery closed 6 years ago

Schmavery commented 6 years ago
schmave ~/git/reprocessing 49194s → bsb-w -backend jsgs
Fatal error: exception Failure("-backend should be one of: 'js', 'bytecode' or 'native'.")
>>>> Start compiling
Rebuilding since just get started
ninja: Entering directory `lib/bs/native'
[46/46] Building src/Reprocessing_Internal.mlast.d
ninja: error: '/Users/schmave/Documents/git/reprocessing/node_modules/ReasonglInterface/lib/ocaml/native/lib.cmxa', needed by 'index.native', missing and no known rule to make it
>>>> Finish compiling(exit: 1)
Schmavery commented 6 years ago

This behaves a little better now.

schmave ~/git/reprocessing 4s → bsb-w -backend bytecodeasasg
Fatal error: exception Failure("-backend should be one of: 'js', 'bytecode' or 'native'.")
>>>> Start compiling
Rebuilding since just get started
Fatal error: exception Failure("-backend should be one of: 'js', 'bytecode' or 'native'.")
>>>> Finish compiling(exit: 2)

Hangs on the last line until I ctrl-c though.