1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-04 06:23:13 +03:00
juvix/app/Commands
Paul Cadman 29041dcb32
Launch the Anoma node and client from the elixir REPL (#3172)
This PR changes how we launch the Anoma Client to avoid a bug with
linking cryptographic APIs.

libsodium cryptographic APIs like sign-detached cannot currently be
called from within the Anoma node or client binaries. Until this is
solved we must start both the node and client from the elixir REPL.
Previously we were starting the node using the REPL and the client using
the binary.

This commit changes the `start.exs` script we were using to start the
node to now start both a node and a client.

After this change we can enable Anoma compilation test `test077`.

The output of `juvix dev anoma node --anoma-dir ANOMA_DIR` is now:

```
Anoma node and client successfully started
Listening on port 51748
```
2024-11-14 09:10:00 +01:00
..
Clean Use Package.juvix in the global project (#2499) 2023-11-06 11:49:43 +00:00
Compile Run Nockma in an Anoma node (#3128) 2024-10-29 17:32:59 +01:00
Dependencies Logger (#2908) 2024-07-22 17:14:37 +02:00
Dev Launch the Anoma node and client from the elixir REPL (#3172) 2024-11-14 09:10:00 +01:00
Doctor Global offline flag (#2335) 2023-09-05 17:11:17 +02:00
Eval Make compile targets a subcommand instead of a flag (#2700) 2024-04-09 13:29:07 +02:00
Extra Compile-time configuration (#3102) 2024-10-16 11:47:23 +02:00
Format Improve performance of formatting a project (#2863) 2024-07-01 18:05:24 +02:00
Html Improve css themes (#2921) 2024-08-01 18:32:03 +02:00
Init Add PackageDescription.Basic module Package variant (#2509) 2023-11-13 17:36:18 +00:00
Isabelle Translate function bodies to Isabelle/HOL (#2868) 2024-07-19 08:40:07 +01:00
Markdown Make compile targets a subcommand instead of a flag (#2700) 2024-04-09 13:29:07 +02:00
Repl Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Typecheck Make compile targets a subcommand instead of a flag (#2700) 2024-04-09 13:29:07 +02:00
Base.hs juvix typecheck with no file argument typechecks the whole project (#2889) 2024-07-12 17:48:29 +02:00
Clean.hs Use Package.juvix in the global project (#2499) 2023-11-06 11:49:43 +00:00
Compile.hs Remove VampIR compile command and tests (#3104) 2024-10-16 15:03:14 +02:00
Dependencies.hs Logger (#2908) 2024-07-22 17:14:37 +02:00
Dev.hs Run Nockma in an Anoma node (#3128) 2024-10-29 17:32:59 +01:00
Doctor.hs Compile-time configuration (#3102) 2024-10-16 11:47:23 +02:00
Eval.hs Logger (#2908) 2024-07-22 17:14:37 +02:00
Format.hs Fix package-base interaction (#3139) 2024-11-01 14:42:18 +00:00
Html.hs Do not show progress log for juvix html (#2920) 2024-07-30 18:57:58 +02:00
Init.hs Logger (#2908) 2024-07-22 17:14:37 +02:00
Isabelle.hs Isabelle/HOL translation: comments (#2974) 2024-09-02 15:56:58 +02:00
Markdown.hs Logger (#2908) 2024-07-22 17:14:37 +02:00
Repl.hs Nockma mode (#3163) 2024-11-13 15:41:06 +00:00
Typecheck.hs Improve compilation progress log (#2969) 2024-08-30 00:10:13 +02:00