Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Test.MixProject do
use Mix.Project
def project do
[
app: :test_mix,
description: "test mix",
version: "0.1.0",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: [
files: ["lib", "mix.exs", "README.md"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/yourusername/yourrepository"}
],
aliases: [
docs: fn _args ->
File.mkdir_p!("doc")
File.write!("doc/index.html", "<html><body><h1>Documentation Placeholder</h1></body></html>")
end
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :hex]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:hexpm_staging_bar, "~> 0.1.1"}
]
end
end