-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
49 lines (44 loc) · 1.21 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
defmodule Alphabetify.Mixfile do
use Mix.Project
def project do
[
app: :alphabetify,
version: "1.0.9",
elixir: "~> 1.5",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
docs: [logo: "alpha.png"]
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
defp deps do
[{:ex_doc, ">= 0.0.0", only: :dev}]
end
defp description do
"""
Create an alphabetical hash. Taking an existing alphabetic hash (of any length),
will return the next hash in sequence. If all characters in hash are rolled over,
will append a new char (increase the length by 1.)
eg. 'ZZZZ' -> 'AAAAA' eg. 'AAAZ' -> 'AABA'
"""
end
defp package do
# These are the default files included in the package
[
name: :alphabetify,
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Todd Resudek"],
licenses: ["GPL 3.0"],
links: %{"GitHub" => "https://github.com/supersimple/alphabetify-ex"},
logo: "e.png"
]
end
end