From f7d752baa9f70293c3d7fb50cef7da4a5a66b7f3 Mon Sep 17 00:00:00 2001 From: Daniel Neighman Date: Fri, 1 Jan 2016 22:14:31 -0800 Subject: [PATCH] Fill out some more of the hex info --- CHANGELOG.md | 3 +++ LICENSE | 20 ++++++++++++++++++++ mix.exs | 42 +++++++++++++++++++++++++++++------------- 3 files changed, 52 insertions(+), 13 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 LICENSE diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2c1e29a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# Version 0.1.0 + +Initial release diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5055b7d --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2016 Daniel Neighman + +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. diff --git a/mix.exs b/mix.exs index 9b803b5..4656f51 100644 --- a/mix.exs +++ b/mix.exs @@ -1,31 +1,38 @@ defmodule StdJsonIo.Mixfile do use Mix.Project + @version "0.1.0" + @url "https://github.com/hassox/std_json_io" + @maintainers ["Daniel Neighman"] + def project do [app: :std_json_io, - version: "0.1.0", + name: "StdJsonIo", + version: @version, + package: @package, elixir: "~> 1.1", + source_url: @url, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, + maintainers: @maintainers, + description: "Application for managing and communicating with IO servers via JSON", + homepage_url: @url, + docs: docs, deps: deps] end - # Configuration for the OTP application - # - # Type "mix help compile.app" for more information def application do [applications: [:logger, :porcelain]] end - # Dependencies can be Hex packages: - # - # {:mydep, "~> 0.3.0"} - # - # Or git/path repositories: - # - # {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"} - # - # Type "mix help deps" for more examples and options + def docs do + [ + extras: ["README.md", "CHANGELOG.md"], + source_ref: "v#{@version}", + main: "extra-readme" + ] + end + defp deps do [ {:porcelain, "~> 2.0"}, @@ -34,4 +41,13 @@ defmodule StdJsonIo.Mixfile do {:fs, "~> 0.9.1"}, ] end + + defp package do + [ + maintainers: @maintainers, + licenses: ["MIT"], + links: %{github: @url}, + files: ~w(lib) ++ ~w(CHANGELOG.md LICENSE mix.exs README.md) + ] + end end