sheharyarn / que

Simple Job Processing in Elixir with Mnesia :zap:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation issue on Elixir 1.7

safwanolaimat opened this issue · comments

== Compilation error in file lib/exquisite.ex ==
** (CompileError) lib/exquisite.ex:103: CALLER is available only inside defmacro and defmacrop
lib/exquisite.ex:103: (module)
could not compile dependency :exquisite, "mix compile" failed. You can recompile this dependency with "mix deps.compile exquisite", update it with "mix deps.update exquisite" or clean it with "mix deps.clean exquisite"

Elixir Version = Elixir v1.7.0-dev

Hi @safwanolaimat. Thank you for taking the time to report this issue. I'm well aware of the compilation problems on Elixir 1.7 (related to #7).

The problem lies with the Exquisite dependency, which itself is a dependency of Amnesia. I'm currently in the process of moving away from both of them, by implementing a custom wrapper for Erlang's Mnesia.

Be on the lookout for v0.6 of the package, which should resolve all compilation problems. Thank you again!

Thanks

I've published v0.7 of that package. Que now uses the Memento library instead of Amnesia, completely side-stepping compilation and macro issues caused by it.

Please let me know if you have any other issues.