 
   def application do
     [mod: {:fast_xml, []}]
-    end
-     
+  end
+
   defp package do
     [# These are the default files included in the package
      files: ["src", "lib", "c_src/*.c", "mix.exs", "rebar.config", "rebar.config.script", "Makefile.mix", "priv", "include", "README.md", "LICENSE.txt"],


  defp aliases do
    # Execute the usual mix clean and our Makefile clean task
    [clean: ["clean", "clean.make"]]
  end
end

# Define 
defmodule Mix.Tasks.Compile.Make do
  @shortdoc "Compiles helper in c_src"

  # TODO refactor 
  def run(_) do
    if match? {:win32, _}, :os.type do
      {result, _error_code} = System.cmd("nmake", ["/F", "Makefile.mix", "priv\\lib\\fxml_stream.dll"], stderr_to_stdout: true)

     links: %{"GitHub" => "https://github.com/processone/fast_xml",
              "Docs" => "https://github.com/processone/fast_xml/blob/master/README.md"}]
  end

  def deps do
    [{:p1_utils, "~> 1.0"},
     {:earmark, "~> 0.1", only: :dev},
