-
Notifications
You must be signed in to change notification settings - Fork 23
/
mix.exs
67 lines (60 loc) · 1.44 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
defmodule Exexif.Mixfile do
use Mix.Project
def project do
[
app: :nextexif,
version: "0.1.0",
elixir: ">= 1.6.0",
deps: deps(),
aliases: aliases(),
description: description(),
package: package()
]
end
def application do
[
applications: []
]
end
defp description do
"""
Read TIFF and EXIF information from a JPEG-format image.
iex> {:ok, info} = Exexif.exif_from_jpeg_buffer(buffer)
iex> info.x_resolution
72
iex> info.model
"DSC-RX100M2"
...> Exexif.Data.Gps.inspect info
"41°23´16˝N,2°11´50˝E"
"""
end
@me "Aleksei Matiushkin <[email protected]>"
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE.md"],
maintainers: [@me],
contributors: ["Dave Thomas <[email protected]>", @me],
licenses: ["MIT. See LICENSE.md"],
links: %{
"GitHub" => "https://github.com/am-kantox/exexif"
}
]
end
defp aliases do
[
quality: ["format", "credo --strict", "dialyzer"],
"quality.ci": [
"format --check-formatted",
"credo --strict",
"dialyzer"
]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: [:dev], runtime: false},
{:credo, "~> 1.0", only: [:dev, :ci], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test, :ci], runtime: false}
]
end
end