forked from devinus/poolboy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bb48a8
commit 3479086
Showing
6 changed files
with
18 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters