Current section
Files
Jump to
Current section
Files
mix.exs
defmodule TTT.MixProject do
alias TTT.Console.GameRunner, as: GameRunner
use Mix.Project
def project do
[
app: :ttt,
version: "0.2.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
escript: [main_module: GameRunner],
# Doc
name: "TTT",
source_url: "https://github.com/mrfishball/TicTacToeElixir",
homepage_url: "https://github.com/mrfishball/TicTacToeElixir",
docs: [
logo: "./img/logo.jpg",
extras: ["README.md", "CHANGELOG.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp description do
"""
Library for build/playing a Tic Tac Toe game.
"""
end
defp package do
[
maintainers: ["Steven Kwok"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/mrfishball/TicTacToeElixir"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 0.10.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
]
end
end