Closed idkjs closed 4 years ago
Are these example still in the repo? I can't seem to run them. Thank you.
~/Github/morph master ❯ esy build info esy build 0.6.6 (using package.json) ~/Github/morph master ❯ (esy examples-path)/hello_world.exe fish: Command substitutions not allowed ~/Github/morph master ❯ esy examples-path/hello_world.exe ~/Github/morph master ❯ esy bin/hello_world.exe ~/Github/morph master ❯ esy examples ocamlopt docs/markdown/simple_switch_based_router.exe ld: warning: directory not found for option '-L/opt/local/lib' ocamlopt docs/markdown/writing_middleware.exe ld: warning: directory not found for option '-L/opt/local/lib' ocamlopt docs/markdown/with_routes_package.exe ld: warning: directory not found for option '-L/opt/local/lib' ocamlopt docs/markdown/graphql_server.exe ld: warning: directory not found for option '-L/opt/local/lib' ocamlopt docs/markdown/getting_started.exe ld: warning: directory not found for option '-L/opt/local/lib' ~/Github/morph master ❯ esy docs/markdown/simple_switch_based_router.exe ~/Github/morph master
They have been renamed afaik. esy b dune exec ./bin/Example should work.
esy b dune exec ./bin/Example
https://github.com/reason-native-web/morph/blob/master/bin/dune#L2
❯ esy b dune exec ./bin/Example.exe
Thanks @ManasJayanth
Are these example still in the repo? I can't seem to run them. Thank you.