summaryrefslogtreecommitdiffstats
path: root/mix.exs
diff options
context:
space:
mode:
authorMurilo Ijanc <[email protected]>2026-07-26 12:19:34 -0300
committerMurilo Ijanc <[email protected]>2026-07-26 12:19:34 -0300
commit075683ff44a254e99adbad8a0372ef80ff06151a (patch)
tree648289c8485afc6f003a3f719fb937c21f149311 /mix.exs
downloadelixir-075683ff44a254e99adbad8a0372ef80ff06151a.tar.gz
Initial importv0.1.0
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs38
1 files changed, 38 insertions, 0 deletions
diff --git a/mix.exs b/mix.exs
new file mode 100644
index 0000000..8a1625c
--- /dev/null
+++ b/mix.exs
@@ -0,0 +1,38 @@
+defmodule Cepis.MixProject do
+ use Mix.Project
+
+ @version "0.1.0"
+ @source_url "https://git.cep.is/elixir.git"
+
+ def project do
+ [
+ app: :cepis,
+ version: @version,
+ elixir: "~> 1.14",
+ elixirc_paths: elixirc_paths(Mix.env()),
+ start_permanent: Mix.env() == :prod,
+ deps: deps(),
+ name: "cepis",
+ description: "Client for the public CEP API at cep.is",
+ package: package(),
+ source_url: @source_url
+ ]
+ end
+
+ def application do
+ [extra_applications: [:inets, :ssl, :public_key]]
+ end
+
+ defp elixirc_paths(:test), do: ["lib", "test/support"]
+ defp elixirc_paths(_), do: ["lib"]
+
+ defp deps, do: []
+
+ defp package do
+ [
+ licenses: ["ISC"],
+ links: %{"Source" => @source_url, "API" => "https://cep.is"},
+ files: ~w(lib mix.exs README.md LICENSE Makefile .formatter.exs)
+ ]
+ end
+end