Running mix should be sufficient, as an Elixir dependency
This commit is contained in:
3
mix.exs
3
mix.exs
@@ -37,6 +37,9 @@ defmodule Mix.Tasks.Compile.Nif do
|
|||||||
def run(_) do
|
def run(_) do
|
||||||
project = Mix.Project.get!
|
project = Mix.Project.get!
|
||||||
|
|
||||||
|
Mix.shell.info("* Running make...")
|
||||||
|
Mix.shell.info(:os.cmd('make'))
|
||||||
|
|
||||||
if function_exported?(project, :nif, 0) do
|
if function_exported?(project, :nif, 0) do
|
||||||
do_run(project.nif)
|
do_run(project.nif)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user