Skip to content

Commit c34b02a

Browse files
committed
Publish initial version to hex.
1 parent 8af663b commit c34b02a

3 files changed

Lines changed: 62 additions & 3 deletions

File tree

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Christopher Jon Keathley
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

mix.exs

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
defmodule Hlcid.MixProject do
22
use Mix.Project
33

4+
@version "0.1.0"
5+
46
def project do
57
[
68
app: :hlcid,
7-
version: "0.1.0",
9+
version: @version,
810
elixir: "~> 1.8",
911
start_permanent: Mix.env() == :prod,
10-
deps: deps()
12+
deps: deps(),
13+
14+
description: description(),
15+
package: package(),
16+
deps: deps(),
17+
name: "HLCID",
18+
source_url: "https://github.com/keathley/hlcid",
19+
docs: docs()
1120
]
1221
end
1322

@@ -22,7 +31,31 @@ defmodule Hlcid.MixProject do
2231
# Run "mix help deps" to learn about dependencies.
2332
defp deps do
2433
[
25-
{:hlclock, "~> 1.0"}
34+
{:hlclock, "~> 1.0"},
35+
{:ex_doc, "~> 0.19", only: :dev}
36+
]
37+
end
38+
39+
defp description do
40+
"""
41+
Generates unique, k-ordered ids based on hybrid logical clocks.
42+
"""
43+
end
44+
45+
defp package do
46+
[
47+
name: "hlcid",
48+
maintainers: ["Chris Keathley"],
49+
licenses: ["MIT"],
50+
links: %{"GitHub" => "https://github.com/keathley/hlcid"}
51+
]
52+
end
53+
54+
def docs do
55+
[
56+
source_ref: "v#{@version}",
57+
source_url: "https://github.com/keathley/hlcid",
58+
main: "HLCID"
2659
]
2760
end
2861
end

mix.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
%{
2+
"earmark": {:hex, :earmark, "1.4.0", "397e750b879df18198afc66505ca87ecf6a96645545585899f6185178433cc09", [:mix], [], "hexpm"},
3+
"ex_doc": {:hex, :ex_doc, "0.21.2", "caca5bc28ed7b3bdc0b662f8afe2bee1eedb5c3cf7b322feeeb7c6ebbde089d6", [:mix], [{:earmark, "~> 1.3.3 or ~> 1.4", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
24
"hlclock": {:hex, :hlclock, "1.0.0", "7a72fc7a20a9382499216227edf97a8b118e21fc3fcad0e81b8d10c616ce1431", [:mix], [], "hexpm"},
5+
"makeup": {:hex, :makeup, "1.0.0", "671df94cf5a594b739ce03b0d0316aa64312cee2574b6a44becb83cd90fb05dc", [:mix], [{:nimble_parsec, "~> 0.5.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
6+
"makeup_elixir": {:hex, :makeup_elixir, "0.14.0", "cf8b7c66ad1cff4c14679698d532f0b5d45a3968ffbcbfd590339cb57742f1ae", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"},
7+
"nimble_parsec": {:hex, :nimble_parsec, "0.5.1", "c90796ecee0289dbb5ad16d3ad06f957b0cd1199769641c961cfe0b97db190e0", [:mix], [], "hexpm"},
38
"uuid": {:hex, :uuid, "1.1.8", "e22fc04499de0de3ed1116b770c7737779f226ceefa0badb3592e64d5cfb4eb9", [:mix], [], "hexpm"},
49
}

0 commit comments

Comments
 (0)