34 lines
780 B
Elixir
34 lines
780 B
Elixir
|
defmodule HttpSignatures.MixProject do
|
||
|
use Mix.Project
|
||
|
|
||
|
def project do
|
||
|
[
|
||
|
app: :http_signatures,
|
||
|
version: "0.1.0",
|
||
|
elixir: "~> 1.7",
|
||
|
elixirc_options: [warnings_as_errors: true],
|
||
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||
|
start_permanent: Mix.env() == :prod,
|
||
|
deps: deps()
|
||
|
]
|
||
|
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
|
||
|
[
|
||
|
# {:dep_from_hexpm, "~> 0.3.0"},
|
||
|
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
|
||
|
]
|
||
|
end
|
||
|
|
||
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
||
|
defp elixirc_paths(_), do: ["lib"]
|
||
|
end
|