Setup & Environment
Antidote requires Erlang 21 or greater. Make sure the command
erl
is executable in your console.Use the following
Makefile
targets to build and test antidote:# compile the project:
make compile
# run the unit tests:
make test
# run the system tests:
make systests
# run the release test:
make reltest
# run dialyzer to check types:
make dialyzer
# run linter
make lint
# open a shell:
make shell
# build a release:
make rel
- Create a folder named
_checkouts
in yourantidote
folder (next to the_build
folder) - Clone or symlink the dependency into that folder. The folder name in
_checkouts
must be the name of the dependency inrebar.config
. - When running a rebar3 task on Antidote, it will always use the latest version from the dependencies.
Last modified 3yr ago