Skip to content

Commit 6db5ba8

Browse files
committed
rebaring: fiz dialyzing with either rebar and rebar3
1 parent ee9eb2c commit 6db5ba8

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.travis.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
sudo: false
22
language: erlang
33
script:
4-
- ~/rebar3 compile
5-
- ls -lha . _build _build/default/lib/*/ebin
6-
- REBAR=~/rebar3 make all
7-
- rm -rf _build
8-
- ./configure --use-sfmt
9-
- make fast && cd deps/sfmt && make && cd -
10-
- make all
4+
- |
5+
~/rebar3 compile
6+
REBAR=~/rebar3 make all
7+
- |
8+
rm -rf _build
9+
./configure --use-sfmt
10+
make fast && cd deps/sfmt && make && cd -
11+
make all
1112
1213
otp_release:
1314
- 20.3
@@ -20,8 +21,8 @@ otp_release:
2021
- 17.0
2122

2223
cache:
23-
directories:
24-
- .plt
24+
directories:
25+
- .plt
2526

2627
install:
2728
- curl -#fSLo ~/rebar3 https://s3.amazonaws.com/rebar3/rebar3 && chmod +x ~/rebar3

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ compile:
4444
$(REBAR) compile
4545

4646
dialyzer: .plt/proper_plt compile
47-
dialyzer -n -nn --plt $< -Wunmatched_returns ebin $(find . -path 'deps/*/ebin/*.beam') $(find . -path '_build/default/lib/*/ebin')
47+
dialyzer -n -nn --plt $< -Wunmatched_returns $(wildcard ebin deps/*/ebin _build/default/lib/*/ebin)
4848

4949
.plt/proper_plt: .plt
5050
dialyzer --build_plt --output_plt $@ --apps erts kernel stdlib compiler crypto syntax_tools

src/proper_gen_next.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ensure_initialized() ->
8383
L = [get(proper_gen_next_cache),
8484
get(proper_gen_next_cache_backup),
8585
get(proper_gen_next_depth_cache),
86-
get(rand_seed),
86+
get(rng_seed),
8787
get('$any_type'),
8888
get('$left'),
8989
get('$constraint_tries'),

0 commit comments

Comments
 (0)