From df4f527a27866c1437e05dfbafbe48f87e01aaba Mon Sep 17 00:00:00 2001 From: tmbb Date: Sun, 28 Jul 2019 22:11:34 +0100 Subject: [PATCH] make hex.publish happy --- LICENSE | 7 +++++++ mix.exs | 13 ++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e1bd603 --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright 2019 Tiago Barroso + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/mix.exs b/mix.exs index 72eda57..e0711a6 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,8 @@ defmodule ExToErl.MixProject do version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, - deps: deps() + deps: deps(), + package: package() ] end @@ -18,6 +19,16 @@ defmodule ExToErl.MixProject do ] end + defp package() do + [ + # This option is only needed when you don't want to use the OTP application name + name: "ex_to_erl", + licenses: ["MIT"], + links: %{"GitHub" => "https://github.com/tmbb/ex_to_erl"}, + description: "Convert Elixir expressions into Erlang" + ] + end + # Run "mix help deps" to learn about dependencies. defp deps do [