defmodule Islands.Text.Client.MixProject do use Mix.Project def project do [ app: :islands_text_client, version: "0.2.32", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, name: "Islands Text Client", source_url: source_url(), description: description(), package: package(), # aliases: aliases(), deps: deps() ] end defp source_url do "https://github.com/RaymondLoranger/islands_text_client" end defp description do """ Text client for the Game of Islands. """ end defp package do [ files: ["lib", "mix.exs", "README*"], maintainers: ["Raymond Loranger"], licenses: ["MIT"], links: %{"GitHub" => source_url()} ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:dialyxir, "~> 1.0", only: :dev, runtime: false}, {:ex_doc, "~> 0.22", only: :dev, runtime: false}, {:islands_client_player, "~> 0.1"}, {:islands_client_rpc, "~> 0.1"}, {:islands_client_state, "~> 0.1"}, {:islands_player, "~> 0.1"}, {:mix_tasks, github: "RaymondLoranger/mix_tasks", only: :dev, runtime: false}, {:persist_config, "~> 0.4", runtime: false} ] end # defp aliases do # [ # docs: ["docs", ©_assets/1] # ] # end # defp copy_assets(_) do # File.cp_r("assets", "doc/assets", fn src, dst -> # # Always true... # src || dst # # IO.gets(~s|Overwriting "#{dst}" with "#{src}".\nProceed? [Yn]\s|) in [ # # "y\n", # # "Y\n" # # ] # end) # end end