Add some configs

This commit is contained in:
Joakim Nylén 2019-04-12 00:01:03 +02:00
parent d247f6c044
commit 68b674f738
2 changed files with 49 additions and 6 deletions

50
mix.exs
View File

@ -8,22 +8,60 @@ defmodule Xler.MixProject do
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
compilers: [:rustler] ++ Mix.compilers(),
rustler_crates: [xler_native: []],
deps: deps()
description: description(),
package: package(),
rustler_crates: rustler_crates(),
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
def application() do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
defp rustler_crates do
[
{:rustler, "~> 0.20.0"}
xler_native: [
path: "native/xler_native",
mode: :release
]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps() do
[
{:rustler, "~> 0.20.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp docs do
[
source_ref: "master",
main: "Xler",
canonical: "http://hexdocs.pm/xler",
source_url: "https://gitlab.com/jnylen/xler",
extras: [
"README.md"
]
]
end
defp description() do
"A rust-based Excel parser."
end
defp package() do
[
files: ~w(lib .formatter.exs mix.exs README* LICENSE*
native),
licenses: ["MIT"],
links: %{"GitLab" => "https://gitlab.com/jnylen/xler"}
]
end
end

View File

@ -1,3 +1,8 @@
%{
"earmark": {:hex, :earmark, "1.3.2", "b840562ea3d67795ffbb5bd88940b1bed0ed9fa32834915125ea7d02e35888a5", [:mix], [], "hexpm"},
"ex_doc": {:hex, :ex_doc, "0.20.1", "88eaa16e67c505664fd6a66f42ddb962d424ad68df586b214b71443c69887123", [:mix], [{:earmark, "~> 1.3", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.10", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
"makeup": {:hex, :makeup, "0.8.0", "9cf32aea71c7fe0a4b2e9246c2c4978f9070257e5c9ce6d4a28ec450a839b55f", [:mix], [{:nimble_parsec, "~> 0.5.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
"makeup_elixir": {:hex, :makeup_elixir, "0.13.0", "be7a477997dcac2e48a9d695ec730b2d22418292675c75aa2d34ba0909dcdeda", [:mix], [{:makeup, "~> 0.8", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"},
"nimble_parsec": {:hex, :nimble_parsec, "0.5.0", "90e2eca3d0266e5c53f8fbe0079694740b9c91b6747f2b7e3c5d21966bba8300", [:mix], [], "hexpm"},
"rustler": {:hex, :rustler, "0.20.0", "6b2cc8149700a7b1df2226dbe273ec1f9449318cad3bd3b5b68125a4cf1f438b", [:mix], [], "hexpm"},
}