Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Exnotify.MixProject do
use Mix.Project
def project do
[
app: :exnotify,
version: "0.1.0",
elixir: "~> 1.12",
description: "inotify implementation using Unifex",
compilers: [:unifex, :bundlex] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
elixirc_options: [
warnings_as_errors: true
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:unifex, "~> 0.4.0"},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp package() do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/bit4bit/exnotify"},
files: ~w(lib c_src bundlex.exs mix.exs README.md LICENSE)
]
end
end