Packages
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'
Current section
Files
Jump to
Current section
Files
alphabetify
mix.exs
mix.exs
defmodule Alphabetify.Mixfile do
use Mix.Project
def project do
[app: :alphabetify,
version: "1.0.2",
elixir: "~> 1.5",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps()]
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.16.4", 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"}
]
end
end