-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
48 lines (43 loc) · 1.13 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
defmodule Wifi.Mixfile do
use Mix.Project
@version File.read!("VERSION") |> String.strip
defp description do
"""
Various utility functions for working with the local Wifi network in Elixir.
These functions are mostly useful in scripts that could benefit from knowing
the current location of the computer or the Wifi surroundings.
"""
end
def project do
[app: :wifi,
version: @version,
description: description,
package: package,
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[applications: [:logger, :httpoison]]
end
defp deps do
[{:httpoison, "~> 0.6"},
{:poison, "~> 1.4.0"}]
end
defp package do
%{
licenses: ["MIT"],
contributors: [
"Martin Gausby",
"Jonas Skovsgaard Christensen",
"Hans Pagh"
],
links: %{ "GitHub" => "https://github.com/gausby/wifi"},
files: ~w(lib config mix.exs LICENSE VERSION README*)
}
end
end