Skip to content

Commit

Permalink
Remove warnings on Elixir v1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Mar 7, 2017
1 parent 38dc74c commit d065dbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

5 changes: 1 addition & 4 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
defmodule Mix.Tasks.Compile.Hoedown do
@shortdoc "Compiles Hoedown"

def run(_) do
if match? {:win32, _}, :os.type do
{result, _error_code} = System.cmd("nmake", ["/F", "Makefile.win", "priv\\markdown.dll"], stderr_to_stdout: true)
Expand All @@ -9,15 +7,14 @@ defmodule Mix.Tasks.Compile.Hoedown do
{result, _error_code} = System.cmd("make", ["priv/markdown.so"], stderr_to_stdout: true)
IO.binwrite result
end

:ok
end
end

defmodule Markdown.Mixfile do
use Mix.Project

@version String.strip(File.read!("VERSION"))
@version "0.1.0"

def project do
[app: :markdown,
Expand Down

0 comments on commit d065dbc

Please sign in to comment.