Skip to content

Commit

Permalink
rebaring: fiz dialyzing with either rebar and rebar3
Browse files Browse the repository at this point in the history
  • Loading branch information
fenollp committed May 22, 2018
1 parent ee9eb2c commit 6db5ba8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
19 changes: 10 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
sudo: false
language: erlang
script:
- ~/rebar3 compile
- ls -lha . _build _build/default/lib/*/ebin
- REBAR=~/rebar3 make all
- rm -rf _build
- ./configure --use-sfmt
- make fast && cd deps/sfmt && make && cd -
- make all
- |
~/rebar3 compile
REBAR=~/rebar3 make all
- |
rm -rf _build
./configure --use-sfmt
make fast && cd deps/sfmt && make && cd -
make all
otp_release:
- 20.3
Expand All @@ -20,8 +21,8 @@ otp_release:
- 17.0

cache:
directories:
- .plt
directories:
- .plt

install:
- curl -#fSLo ~/rebar3 https://s3.amazonaws.com/rebar3/rebar3 && chmod +x ~/rebar3
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ compile:
$(REBAR) compile

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

.plt/proper_plt: .plt
dialyzer --build_plt --output_plt $@ --apps erts kernel stdlib compiler crypto syntax_tools
Expand Down
2 changes: 1 addition & 1 deletion src/proper_gen_next.erl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ensure_initialized() ->
L = [get(proper_gen_next_cache),
get(proper_gen_next_cache_backup),
get(proper_gen_next_depth_cache),
get(rand_seed),
get(rng_seed),
get('$any_type'),
get('$left'),
get('$constraint_tries'),
Expand Down

0 comments on commit 6db5ba8

Please sign in to comment.