Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Lgtv.Mixfile do
use Mix.Project
def project do
[app: :lgtv,
version: "0.2.2",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: "Control LG Web OS TV via Socket",
package: package(),
source_url: "https://gitlab.com/jackmac92/elixir-lgtv",
deps: deps()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[extra_applications: [:logger],
mod: {Lgtv.Application, []}]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:socket, "~> 0.3"},
{:poison, "~> 3.1.0"},
{:exactor, "~> 2.2.4", warn_missing: false},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
maintainers: ["Jack McCown"],
links: %{"Gitlab" => "https://gitlab.com/jackmac92/elixir-lgtv"},
licenses: ["WTFPL"]
]
end
end