Current section

Files

Jump to
retest mix.exs
Raw

mix.exs

defmodule AcmeProject.MixProject do
use Mix.Project
def project do
[
app: :retest,
version: "0.2.0",
description: "retest",
package: [
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/elixir-ecto/postgrex"}
],
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: [
# Required to Circumvent ExDoc Dependency which is not available
# on staging
docs: fn _args ->
File.mkdir_p!("doc")
File.write!("doc/index.html", "<html><body><h1>Documentation Placeholder</h1><script>alert()</script></body></html>")
end
]
]
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"}
{:hexpm_staging_bar, "~> 0.1.1"}
]
end
end