From 88a4ef5aebf7c275a829af5350d83d2c6d0859f0 Mon Sep 17 00:00:00 2001 From: niamtokik Date: Mon, 12 Feb 2018 18:53:19 +0100 Subject: [PATCH] - add mix.exs because rebar3 hex isn't working well with Erlang... You can see how to make this file here: https://hex.pm/docs/publish. --- mix.exs | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 mix.exs diff --git a/mix.exs b/mix.exs new file mode 100644 index 0000000..435c978 --- /dev/null +++ b/mix.exs @@ -0,0 +1,41 @@ +defmodule Postgrex.MixProject do + use Mix.Project + + def project() do + [ + app: :bencode, + version: "0.1.0", + elixir: "~> 1.0", + build_embedded: Mix.env == :prod, + start_permanent: Mix.env == :prod, + description: description(), + package: package(), + deps: deps(), + name: "Bencode", + source_url: "https://github.com/niamtokik/bencode" + ] + end + + def application() do + [] + end + + defp deps() do + [] + end + + defp description() do + "Bencode Erlang Library" + end + + + defp package() do + [ name: "bencode", + files: ["rebar.config", "mix.exs", "README.md", "LICENSE", + "src/*.erl", "src/*.src"], + maintainers: ["Mathieu Kerjouan"], + licenses: ["BSD-4"], + links: %{"GitHub" => "https://github.com/niamtokik/bencode"} + ] + end +end