-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
46 lines (40 loc) · 1013 Bytes
/
mix.exs
File metadata and controls
46 lines (40 loc) · 1013 Bytes
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
defmodule TextFSM.MixProject do
use Mix.Project
def project do
[
app: :textfsm,
version: "0.1.2",
elixir: "~> 1.19",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "TextFSM",
source_url: "https://github.com/amitbashan/textfsm"
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:nimble_parsec, "~> 1.4"}
]
end
defp description() do
"""
TextFSM is a template-based state machine designed to parse semi-structured text (such as CLI output) into structured data.
This is an Elixir implementation of the original TextFSM written in Python.
"""
end
defp package() do
[
files: ~w(lib .formatter.exs mix.exs README* LICENSE),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/amitbashan/textfsm"}
]
end
end