Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meck doesn't build. Maybe move it to a test env? #1

Closed
myers opened this issue Mar 10, 2014 · 3 comments
Closed

meck doesn't build. Maybe move it to a test env? #1

myers opened this issue Mar 10, 2014 · 3 comments

Comments

@myers
Copy link

myers commented Mar 10, 2014

myers@badger:~/test_quaff$ mix
* Compiling meck
==> meck (compile)
Compiled src/meck_args_matcher.erl
Compiled src/meck_code.erl
Compiled src/meck.erl
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_history.erl
Compiled src/meck_util.erl
Compiled src/meck_ret_spec.erl
src/meck_proc.erl:52: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:414: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:451: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:452: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:482: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:483: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:488: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:489: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:494: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/meck_proc.erl:495: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
ERROR: compile failed while processing /Users/myers/test_quaff/deps/meck: rebar_abort
** (Mix) Could not compile dependency meck, /Users/myers/.mix/rebar command failed. If you want to recompile this dependency, please run: mix deps.compile meck

This is a bare project with only quaff as it's dep.

Give meck is a mock library I'm guessing you aren't using it for more than testing. Perhaps you could add it as a dep only when testing? Hear is an example of that:

https://github.com/pragdave/otp_dsl/blob/master/mix.exs

@myers
Copy link
Author

myers commented Mar 11, 2014

Turns out meck won't build under Erlang 17.0rc2. I put in a pull request to fix that

@qhool
Copy link
Owner

qhool commented Mar 13, 2014

Fix underway in build_updates2 branch; I'll add 17.0 (rc1, because that's what they have) to the travis build configs once that pull request is accepted.

@qhool
Copy link
Owner

qhool commented Mar 20, 2014

meck is now only a test dep, for both rebar and mix builds; I've also added E17 to the test matrix.

@qhool qhool closed this as completed Mar 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants