Skip to content

Commit

Permalink
Prepare package to be published to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
danielberkompas committed Apr 11, 2015
1 parent 8ed24c9 commit a334136
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,27 @@ ExTwilio

## Installation

ExTwilio is currently beta software, and hasn't been published to [Hex][hex]
yet. To install, get it from Github:
ExTwilio is currently beta software. You can install it from Hex:

```elixir
def deps do
[{:ex_twilio, github: "danielberkompas/ex_twilio"}]
[
{:ibrowse, github: "cmullaparthi/ibrowse", tag: "v4.1.1"},
{:httpotion, github: "myfreeweb/httpotion"},
{:ex_twilio, "~> 0.1.0"}
]
end
```

Or from Github:

```elixir
def deps do
[
{:ibrowse, github: "cmullaparthi/ibrowse", tag: "v4.1.1"},
{:httpotion, github: "myfreeweb/httpotion"},
{:ex_twilio, github: "danielberkompas/ex_twilio"}
]
end
```

Expand Down
12 changes: 12 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ defmodule ExTwilio.Mixfile do
version: "0.1.0",
elixir: "~> 1.0",
name: "ExTwilio",
description: "Twilio API library for Elixir",
source_url: "https://github.com/danielberkompas/ex_twilio",
package: package,
dialyzer: [
plt_file: "#{System.get_env("HOME")}/#{plt_filename}",
flags: ["--no_native", "-Wno_match", "-Wno_return"]
Expand Down Expand Up @@ -52,4 +54,14 @@ defmodule ExTwilio.Mixfile do
release -> release
end
end

defp package do
[
contributors: ["Daniel Berkompas"],
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/danielberkompas/ex_twilio"
}
]
end
end

0 comments on commit a334136

Please sign in to comment.