mix.exs

defmodule Necto.MixProject do
  use Mix.Project

  def project do
    [
      name: "Necto",
      source_url: "https://github.com/botond-szabo/necto",
      app: :necto,
      version: "0.1.0",
      description: description(),
      package: package(),
      elixir: "~> 1.15",
      start_permanent: Mix.env() == :prod,
      deps: deps()
    ]
  end

  # Run "mix help compile.app" to learn about applications.
  def application do
    [
      extra_applications: [:logger]
    ]
  end

  defp description() do
    "This is a reserved package"
  end

  defp package() do
    [
      # This option is only needed when you don't want to use the OTP application name
      name: "necto",
      licenses: ["Apache-2.0"],
      links: %{"GitHub" => "https://github.com/botond-szabo/necto"},
      files:
        ~w(lib mix.exs)
    ]
  end

  # Run "mix help deps" to learn about dependencies.
  defp deps do
    [
      # {:dep_from_hexpm, "~> 0.3.0"},
      # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
    ]
  end
end