Current section
Files
Jump to
Current section
Files
dll_loader_helper
mix.exs
mix.exs
defmodule DllLoaderHelper.MixProject do
use Mix.Project
@github_url "https://github.com/cocoa-xu/dll_loader_helper"
def project do
[
app: :dll_loader_helper,
version: "0.1.2",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
compilers: compilers() ++ Mix.compilers(),
source_url: @github_url,
description: description(),
package: package(),
deps: deps()
]
end
defp compilers() do
case :os.type() do
{:win32, _} -> [:elixir_make]
_ -> []
end
end
def application do
[extra_applications: []]
end
defp deps do
[
{:elixir_make, "~> 0.6", runtime: false},
{:ex_doc, "~> 0.28", only: :docs, runtime: false}
]
end
defp description() do
"Add a directory to dynamic DLL search path on Windows."
end
defp package() do
[
name: "dll_loader_helper",
# These are the default files included in the package
files:
~w(c_src CMakeLists.txt Makefile.win
mix.exs lib src rebar.config .formatter.exs
README* LICENSE*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => @github_url}
]
end
end