igniter/installer/mix.exs
Zach Daniel e79a384549 fix: prevent crash on specific cases with igniter.new
improvement: more consistent initial impl of `elixirc_paths`

chore: share deps_compile code with installer
2024-07-10 08:42:41 -04:00

41 lines
922 B
Elixir

defmodule Igniter.New.MixProject do
use Mix.Project
@version "0.2.4"
@scm_url "https://github.com/ash-project/igniter"
def project do
[
app: :igniter_new,
start_permanent: Mix.env() == :prod,
version: @version,
elixir: "~> 1.14",
deps: deps(),
package: [
maintainers: ["Zach Daniel"],
licenses: ["MIT"],
links: %{"GitHub" => @scm_url},
files: ~w(lib mix.exs README.md)
],
preferred_cli_env: [docs: :docs],
source_url: @scm_url,
docs: docs(),
homepage_url: "https://www.ash-hq.org",
description: """
Create a new mix project with igniter, and run igniter installers in one command!
"""
]
end
def deps do
[
{:ex_doc, "~> 0.24", only: :dev}
]
end
defp docs do
[
source_url_pattern: "#{@scm_url}/blob/v#{@version}/installer/%{path}#L%{line}"
]
end
end