kindling/mix.exs

60 lines
1.3 KiB
Elixir
Raw Permalink Normal View History

2024-02-23 00:24:26 +00:00
defmodule Kindling.MixProject do
use Mix.Project
def project do
[
app: :kindling,
2024-04-12 15:16:58 +00:00
version: version(),
2024-02-23 00:24:26 +00:00
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
2024-04-12 15:16:58 +00:00
deps: deps(),
2024-08-09 17:59:58 +00:00
description: "Resource generators and API clients for HL7 FHIR.",
2024-04-12 15:16:58 +00:00
# Docs
2024-10-29 17:44:33 +00:00
source_url: "https://code.mythicinsight.com/mythic-insight/kindling",
2024-04-12 15:16:58 +00:00
docs: [
main: "Kindling"
],
# Hex
2024-08-09 17:59:58 +00:00
package: %{
licenses: ["MIT"],
links: %{
2024-10-29 17:44:33 +00:00
"source" => "https://code.mythicinsight.com/mythic-insight/kindling"
2024-08-09 17:59:58 +00:00
}
2024-04-12 15:16:58 +00:00
}
2024-02-23 00:24:26 +00:00
]
end
2024-04-12 15:16:58 +00:00
def version do
[_, version] =
"README.md"
|> File.read!()
|> then(&Regex.run(~r/{:kindling, "~> ([^"]+)"}/, &1))
version
end
2024-02-23 00:24:26 +00:00
# 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
[
2024-04-12 15:16:58 +00:00
{:credo, "~> 1.7", only: [:dev]},
2024-04-25 15:55:26 +00:00
{:ecto, "~> 3.11"},
2024-04-12 15:16:58 +00:00
{:ex_doc, "~> 0.31.2", only: [:dev]},
2024-02-23 00:24:26 +00:00
{:jason, "~> 1.4"},
{:recase, "~> 0.7.0"},
2024-04-25 15:55:26 +00:00
{:req, "~> 0.4.11"},
{:saxy, "~> 1.5.0"}
2024-02-23 00:24:26 +00:00
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
end