Skip to main content

mix.exs

defmodule StarbattleSiteKit.MixProject do
  use Mix.Project

  def project do
    [
      app: :starbattle_site_kit,
      version: "0.1.0",
      elixir: "~> 1.18",
      start_permanent: Mix.env() == :prod,
      deps: deps(),
      description: "Small URL helpers for Star Battle, a free online 2-star logic puzzle game.",
      package: package(),
      docs: [main: "StarbattleSiteKit", source_url: "https://github.com/bbwdadfg/starbattle-site-kit"]
    ]
  end

  def application, do: [extra_applications: [:logger]]

  defp deps do
    [{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}]
  end

  defp package do
    [
      licenses: ["MIT"],
      links: %{
        "Star Battle" => "https://starbattle.online",
        "Website" => "https://starbattle.online",
    "Play" => "https://starbattle.online/#play",
    "Daily" => "https://starbattle.online/daily/",
    "Learn" => "https://starbattle.online/learn/",
        "GitHub" => "https://github.com/bbwdadfg/starbattle-site-kit"
      },
      files: ["lib/starbattle_site_kit.ex", "mix.exs", "README.md", "LICENSE"]
    ]
  end
end