Running mix should be sufficient, as an Elixir dependency

This commit is contained in:
Ramon Snir
2015-03-12 18:47:37 +02:00
parent f75d7bbe63
commit fa24599e82

View File

@@ -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