Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gfngfn/rebar_sesterl_plugin
A Rebar3 plugin for compiling Sesterl programs (https://github.com/gfngfn/Sesterl)
https://github.com/gfngfn/rebar_sesterl_plugin
erlang rebar3-plugin sesterl
Last synced: about 2 months ago
JSON representation
A Rebar3 plugin for compiling Sesterl programs (https://github.com/gfngfn/Sesterl)
- Host: GitHub
- URL: https://github.com/gfngfn/rebar_sesterl_plugin
- Owner: gfngfn
- Created: 2020-11-05T12:35:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-14T20:11:37.000Z (over 3 years ago)
- Last Synced: 2024-10-12T21:08:33.811Z (3 months ago)
- Topics: erlang, rebar3-plugin, sesterl
- Language: Erlang
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `rebar_sesterl`: A Rebar3 plugin for building Sesterl programs
## How to use
1. Generate `./rebar.config` from `./sesterl.yaml` by Sesterl:
```console
$ sesterl config ./
```The command above writes the following description to `rebar.config`:
```erlang
{plugins, [
{rebar_sesterl, {git, "https://github.com/gfngfn/rebar_sesterl_plugin.git", {branch, "master"}}}
]}.{src_dirs, ["src", "_generated"]}.
```Here, `./src` is used not only for putting Sesterl sources but also for `foo.app.src`.
2. Invoke:
```console
$ rebar3 sesterl compile
```Then, by using `./sesterl.yaml`, Sesterl generates Erlang code in `./_generated`, before `rebar3` compiles the resulting Erlang code.
You can also compile and run tests by:
```console
$ rebar3 sesterl test
```