-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
59 lines (53 loc) · 1.25 KB
/
mix.exs
File metadata and controls
59 lines (53 loc) · 1.25 KB
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
defmodule OgImageGen.MixProject do
use Mix.Project
@version "0.1.1"
@source_url "https://github.com/Leandro-Moreno/og_image_gen"
def project do
[
app: :og_image_gen,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
docs: docs(),
name: "OgImageGen",
description: """
Generate beautiful Open Graph images for social sharing using SVG templates
and resvg (Rust NIF). Supports themed gradients, custom typography,
content-based caching, and batch generation via manifest.
"""
]
end
def application do
[
extra_applications: [:logger, :crypto]
]
end
defp deps do
[
{:resvg, "~> 0.4"},
{:jason, "~> 1.4"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Shiko" => "https://shiko.vet"
},
maintainers: ["Shiko Team"],
files: ~w(lib priv/examples .formatter.exs mix.exs README.md LICENSE)
]
end
defp docs do
[
main: "readme",
extras: ["README.md"],
source_ref: "v#{@version}",
source_url: @source_url
]
end
end