https://github.com/stwind/erl_common.mk
Common Makefile rules for Erlang projects
https://github.com/stwind/erl_common.mk
Last synced: about 1 year ago
JSON representation
Common Makefile rules for Erlang projects
- Host: GitHub
- URL: https://github.com/stwind/erl_common.mk
- Owner: stwind
- Created: 2013-09-11T06:32:41.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-22T06:35:15.000Z (almost 12 years ago)
- Last Synced: 2025-02-14T06:36:16.626Z (over 1 year ago)
- Language: Shell
- Size: 190 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
erl_common.mk
=============
Common Makefile rules for erlang project, including building, testing, and packaging. Similar to [erlang.mk](https://github.com/extend/erlang.mk), but utilizing [rebar](https://github.com/rebar/rebar) and other projects like [node_package](https://github.com/basho/node_package), [rebar-lock-deps](https://github.com/lukyanov/rebar-lock-deps)
## Install
Create a `make` folder, place the `.mk` files in it, and include them in you makefile:
```Makefile
APP := my_erl_app
include make/vars.mk
include make/common.mk
include make/dialyzer.mk
include make/rebar.mk
include make/release.mk
include make/pkg.mk
```
There is a `setup.sh` for convinence:
```bash
curl -sL https://raw.github.com/stwind/erl_common.mk/master/setup.sh | sh
```
## Rules
_TODO_