Packages
simple_struct
0.1.0
Create simple structs in a concise way. If they need to grow, expand them to regular structs.
Current section
Files
Jump to
Current section
Files
simple_struct
mix.exs
mix.exs
defmodule SimpleStruct.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/germsvel/simple_struct"
@description """
Create simple structs in a concise way. If they need to grow, expand them to
regular structs.
"""
def project do
[
app: :simple_struct,
version: @version,
description: @description,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
name: "SimpleStruct",
source_url: @source_url,
docs: docs()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, "~> 0.31", only: :dev, runtime: false}
]
end
defp package do
[
licenses: ["MIT"],
links: %{"Github" => @source_url}
]
end
defp docs do
[
main: "SimpleStruct",
extras: []
]
end
end