-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
64 lines (58 loc) · 1.53 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
defmodule LightningCSS.MixProject do
use Mix.Project
@version "0.5.2"
@source_url "https://github.com/tuist/lightning_css"
def project do
[
app: :lightning_css,
version: @version,
elixir: "~> 1.15",
description: "A wrapper for the Lightning CSS tool.",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, inets: :optional, ssl: :optional],
mod: {LightningCSS, []},
env: [default: []]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:castore, ">= 0.0.0"},
{:file_system, "~> 0.2.10 or ~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:modulex, "~> 0.7.0", runtime: false},
{:boundary, "~> 0.10", runtime: false},
{:dialyxir, "~> 1.3", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:mimic, "~> 1.7", only: :test},
{:styler, "~> 1.2", only: [:dev, :test], runtime: false}
]
end
defp package do
[
name: "lightning_css",
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
main: "LightningCSS",
extras: [
"LICENSE.md": [title: "License"],
"README.md": [title: "Overview"]
],
source_url: @source_url,
source_ref: @version,
formatters: ["html"]
]
end
end