Skip to content

Commit

Permalink
move to rebar3
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Jun 23, 2015
1 parent 3bb48a8 commit 3479086
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 41 deletions.
28 changes: 7 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,34 +1,20 @@
REBAR = $(shell command -v rebar || echo ./rebar)
REBAR = $(shell command -v rebar3 || echo ./rebar3)

DIALYZER = dialyzer

DIALYZER_WARNINGS = -Wunmatched_returns -Werror_handling \
-Wrace_conditions -Wunderspecs

.PHONY: all compile test qc clean get-deps build-plt dialyze
.PHONY: all compile test qc clean

all: compile

compile:
@$(REBAR) compile

test: compile
@$(REBAR) eunit skip_deps=true
test:
@$(REBAR) eunit

qc: compile
@$(REBAR) qc skip_deps=true
@$(REBAR) eqc

clean:
@$(REBAR) clean

get-deps:
@$(REBAR) get-deps

.dialyzer_plt:
@$(DIALYZER) --build_plt --output_plt .dialyzer_plt \
--apps kernel stdlib

build-plt: .dialyzer_plt

dialyze: build-plt
@$(DIALYZER) --src src --plt .dialyzer_plt $(DIALYZER_WARNINGS)
dialyze:
@$(REBAR) dialyzer
19 changes: 0 additions & 19 deletions package.exs

This file was deleted.

Binary file removed rebar
Binary file not shown.
6 changes: 6 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@

{eunit_opts, [verbose]}.
{cover_enabled, true}.

{profiles, [{test, [
{plugins, [
{rebar_prv_eqc, ".*", {git, "https://github.com/kellymclaughlin/rebar_prv_eqc.git", {tag, "0.0.3"}}}
]}
]}]}.
Binary file added rebar3
Binary file not shown.
6 changes: 5 additions & 1 deletion src/poolboy.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
{description, "A hunky Erlang worker pool factory"},
{vsn, "1.5.1"},
{applications, [kernel, stdlib]},
{registered, [poolboy]}
{registered, [poolboy]},

{contributors, ["Devin Torres", "Andrew Thompson", "Kurt Williams"]},
{licenses, ["Unlicense", "Apache 2.0"]},
{links, [{"GitHub", "https://github.com/devinus/poolboy"}]}
]}.

0 comments on commit 3479086

Please sign in to comment.