https://github.com/arnauld/netherl
https://github.com/arnauld/netherl
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/arnauld/netherl
- Owner: Arnauld
- Created: 2014-06-21T13:20:44.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-26T20:18:17.000Z (almost 12 years ago)
- Last Synced: 2025-01-10T18:59:04.533Z (over 1 year ago)
- Language: Erlang
- Size: 305 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes & Diary
## Erlang & rebar setup
1. Install Erlang
2. [rebar](https://github.com/rebar/rebar/wiki/Getting-started)
3. openssl missing...
4. [brew](http://brew.sh/) `brew install openssl`
Also
* [Winning the Erlang Edit•Build•Test Cycle](http://fr.slideshare.net/rklophaus/winning-the-edit-build-test-cycle): Many erlang tips'n tricks
* [sync](https://github.com/rustyio/sync): On-the-fly recompiling and reloading in Erlang. Code without friction.
## REPL
erl -pa ebin/
1> ne_store:pre_init().
2> ne_store:start_link().
3> ne_store:append_events(id1, [e1, e2]).
4> ne_store:append_events(id1, [e3, e4]).
5> ne_store:get_events(id1).
[e1,e2,e3,e4]
...
erl -pa .eunit/
1> debugger:start().
2>
## Dev.
Execute tests:
./rebar compile eunit skip_deps=true
Execute tests for dependencies too:
./rebar compile eunit
### Rake
$ rake
$ rake test