rebar_sesterl: A Rebar3 plugin for building Sesterl programs
July 11, 2021 ยท View on GitHub
How to use
-
Generate
./rebar.configfrom./sesterl.yamlby Sesterl:$ sesterl config ./The command above writes the following description to
rebar.config:{plugins, [ {rebar_sesterl, {git, "https://github.com/gfngfn/rebar_sesterl_plugin.git", {branch, "master"}}} ]}. {src_dirs, ["src", "_generated"]}.Here,
./srcis used not only for putting Sesterl sources but also forfoo.app.src. -
Invoke:
$ rebar3 sesterl compileThen, by using
./sesterl.yaml, Sesterl generates Erlang code in./_generated, beforerebar3compiles the resulting Erlang code.You can also compile and run tests by:
$ rebar3 sesterl test