Skip to content

Commit

Permalink
update mix file
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian Iacobescu committed Dec 19, 2018
1 parent 528ce3d commit dc64472
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
38 changes: 34 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
defmodule TwoPhaseCommit.MixProject do
use Mix.Project

@github_url "https://github.com/qixxit/two_phase_commit"
@example_github_url "https://github.com/qixxit/two_phase_commit_example"
@description "A library to execute actions in a fault tolerant manner by applying a two-phase-commit pattern for the business logic and the persistance layer"

def project do
[
app: :two_phase_commit,
version: "0.1.0",
elixir: "~> 1.6",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
source_url: @github_url,
description: @description,
name: "Two Phase Commit",
package: package(),
docs: docs()
]
end

Expand All @@ -21,8 +30,29 @@ defmodule TwoPhaseCommit.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end

defp package() do
[
licenses: ["Apache 2.0"],
maintainers: [],
links: %{
"GitHub" => @github_url,
"Example" => @example_github_url
# "Blog Post" => "https://medium.com/our_blog_post_url",
},
source_url: @github_url
]
end

defp docs() do
[
main: "readme",
extras: ["README.md"]

# logo: "maybe/a/logo.png",
]
end
end
7 changes: 7 additions & 0 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
%{
"earmark": {:hex, :earmark, "1.3.0", "17f0c38eaafb4800f746b457313af4b2442a8c2405b49c645768680f900be603", [:mix], [], "hexpm"},
"ex_doc": {:hex, :ex_doc, "0.19.1", "519bb9c19526ca51d326c060cb1778d4a9056b190086a8c6c115828eaccea6cf", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.7", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
"makeup": {:hex, :makeup, "0.5.6", "da47b331b1fe0a5f0380cc3a6967200eac5e1daaa9c6bff4b0310b3fcc12b98f", [:mix], [{:nimble_parsec, "~> 0.4.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
"makeup_elixir": {:hex, :makeup_elixir, "0.10.0", "0f09c2ddf352887a956d84f8f7e702111122ca32fbbc84c2f0569b8b65cbf7fa", [:mix], [{:makeup, "~> 0.5.5", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"},
"nimble_parsec": {:hex, :nimble_parsec, "0.4.0", "ee261bb53214943679422be70f1658fff573c5d0b0a1ecd0f18738944f818efe", [:mix], [], "hexpm"},
}

0 comments on commit dc64472

Please sign in to comment.