-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reltool config handling during execution hooks
- Loading branch information
1 parent
f97e36a
commit 6e437d1
Showing
6 changed files
with
48 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/make -f | ||
# Makefile wrapper | ||
|
||
all: clean-build | ||
|
||
build: | ||
@(./rebar compile) | ||
|
||
clean: | ||
@(./rebar clean) | ||
|
||
clean-build: clean build | ||
|
||
test: test-deps | ||
@(./rebar -C test.config retest -v) | ||
|
||
test-deps: | ||
@(./rebar -C test.config get-deps compile-deps) | ||
|
||
.PHONY: all build clean clean-build test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,2 @@ | ||
|
||
{deps, [ | ||
{rebar_retest_plugin, ".*"} | ||
]}. | ||
|
||
{erl_opts, [{outdir, "ebin"}, | ||
debug_info, | ||
warnings_as_errors]}. | ||
|
||
%% ReTest config | ||
{rebar_plugins, [rebar_retest_plugin]}. | ||
{retest_testdir, "inttest"}. | ||
{retest_verbose, true}. | ||
{retest_loglevel, debug}. | ||
|
||
{erl_opts, [warnings_as_errors]}. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
{deps, [ | ||
{retest, ".*", | ||
{git, "https://github.com/hyperthunk/retest.git", "master"}}, | ||
{rebar_retest_plugin, ".*", | ||
{git, "https://github.com/hyperthunk/rebar_retest_plugin.git", "master"}} | ||
]}. | ||
|
||
{erl_opts, [{outdir, "ebin"}, | ||
debug_info, | ||
warnings_as_errors]}. | ||
|
||
%% ReTest config | ||
{rebar_plugins, [rebar_retest_plugin]}. | ||
{retest_testdir, "inttest"}. | ||
{retest_verbose, true}. | ||
{retest_loglevel, debug}. |