Packages

Helper for converting and performing math operations on values of Time, Date, DateTime, and NaiveDateTime along with storing in database with Ecto.Type

Current section

Files

Jump to
periods mix.exs
Raw

mix.exs

defmodule Periods.MixProject do
use Mix.Project
@app :periods
@author "Erin Boeger"
@github "https://github.com/SullysMustyRuby/periods"
@license "MIT"
@name "Periods"
@version "0.2.0"
def project do
[
app: @app,
version: @version,
description: description(),
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
# ExDoc
name: @name,
source_url: @github,
homepage_url: @github,
docs: [
main: @name,
canonical: "https://hexdocs.pm/#{@app}",
extras: ["README.md", "CHANGELOG.md"]
],
aliases: [
test: "test --no-start"
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp description do
"Helper for converting and performing math operations on values of Time, Date, DateTime, and NaiveDateTime along with storing in database with Ecto.Type"
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto, "~> 3.0", optional: true},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:postgrex, "~> 0.19", only: :test},
{:tz, "~> 0.28", only: [:dev, :test]}
]
end
defp package do
[
name: @app,
maintainers: [@author],
licenses: [@license],
files: ~w(mix.exs lib README.md CHANGELOG.md),
links: %{
"Github" => @github,
"Changelog" => "#{@github}/blob/main/CHANGELOG.md"
}
]
end
end