mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-26 09:22:00 +08:00
50ac90a79d
Single modules are now allowed to be defined in an Erlang-cell. In this case the entire code-block is interpreted as an erlang-module and if there are no errors the module is compiled and loaded. If the cell containing the module is deleted subsequent code invocations will fail. Stale indicator is not working yet due to missing notion of functions, this will be fixed in a next version. Error handling - basics are working - Still not happy with it, but it is usable The code is now pre-analyzed using the epp-module. This also has the added advantage that erlang modules can become a bit more expressive with defines and includes. TODO: Examples need to be added to the example livebook. |
||
---|---|---|
.. | ||
livebook | ||
livebook_teams | ||
livebook_web | ||
support | ||
livebook_test.exs | ||
README.md | ||
test_helper.exs |
Running Livebook test suite
Unit tests
$ mix test
Teams tests
Integration with Livebook Teams requires cloning the private Livebook Teams repository. By default it is expected to be in sibling directory to Livebook itself. But you can set TEAMS_PATH
to a custom directory.
Livebook should take care of automatically setting up the Teams repository for you. However, if you run into issues, you can run the following in the Teams repository:
$ MIX_ENV=livebook mix setup