Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ defmodule Mix.Tasks.Compile.Sundown do

def run(_) do
Mix.shell.info System.cmd("make share/markdown.so")

if not File.regular?("sundown/sundown") do
IO.puts """
If the build did not work for you, try removing the -Wl compilation flag in
sundown/Makefile and run `mix compile` again.

See also https://github.com/elixir-lang/ex_doc/issues/31
"""
end
end
end

Expand Down