-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
48 lines (43 loc) · 1.1 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 MakeupRust.MixProject do
use Mix.Project
def project do
[
app: :makeup_rust,
description: description(),
version: "0.3.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [
extras: ["README.md"],
main: "Makeup.Lexers.RustLexer"
],
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [],
mod: {Makeup.Lexers.RustLexer.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:makeup, "~> 1.1"},
{:nimble_parsec, "~> 1.4.0"},
{:ex_doc, ">= 0.0.0", only: [:dev, :docs], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
defp description(), do: "Rust lexer for Makeup"
defp package() do
[
name: "makeup_rust",
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["BSD-2-Clause"],
links: %{"GitHub" => "https://github.com/dottorblaster/makeup_rust"}
]
end
end