Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebar3 build #14

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
ebin/
.eunit/
.idea
_build
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
before_install:
- sudo apt-get update
- sudo apt-get install libicu-dev libmozjs-dev
before_script: ./bootstrap && ./configure
script: make distcheck
dist: trusty
language: erlang
script: make
otp_release:
- R15B02
- R15B01
- R15B
- R14B04
- R14B03
- 23.0
- 22.0
- 21.0
- 20.0
- 19.0
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
all: deps compile

compile: deps
./rebar compile
./rebar3 compile

deps:
test -d deps || ./rebar get-deps
test -d deps || ./rebar3 get-deps

clean:
./rebar clean
./rebar3 clean

distclean: clean
./rebar delete-deps
./rebar3 delete-deps

DIALYZER_APPS = kernel stdlib erts sasl ssl crypto public_key

Expand Down
Binary file removed rebar
Binary file not shown.
3 changes: 0 additions & 3 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
%% ex: ts=4 sw=4 ft=erlang noet


%% Require at least R14B03. (couchdb requires this version or newer, and this code hasn't been tested on earlier)
{require_min_otp_vsn, "R14B03"}.

%% Ensure the ebin directory exists before we try to put files there.
{pre_hooks, [
{compile, "mkdir -p ebin"}
Expand Down
1 change: 1 addition & 0 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[].
Binary file added rebar3
Binary file not shown.