Skip to content

Commit

Permalink
Prepare Hex release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alco committed Apr 11, 2015
1 parent ad471cb commit 0501175
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
7 changes: 3 additions & 4 deletions README.md
Expand Up @@ -26,22 +26,21 @@ Choose how you'd like to install the custom Mix tasks:
1. As an archive:

```
mix archive.install https://github.com/alco/benchfella/releases/download/v0.1.0/benchfella-0.1.0.ez
mix archive.install https://github.com/alco/benchfella/releases/download/v0.2.0/benchfella-0.2.0.ez
```

This will make the custom tasks available to `mix` regardless of where it
is invoked, just like the builtin tasks are.

**Caveat**: the archive may be outdated when there is development happening
on the master branch.
**Caveat**: the archive may keep up with the development on the master branch.

2. Add `benchfella` as a dependency to your project:

```elixir
# in your mix.exs

defp deps do
[{:benchfella, github: "alco/benchfella"}]
[{:benchfella, "0.2.0"}]
end
```

Expand Down
25 changes: 22 additions & 3 deletions mix.exs
Expand Up @@ -2,15 +2,34 @@ defmodule Benchfella.Mixfile do
use Mix.Project

def project do
[app: :benchfella,
version: "0.2.0-dev",
elixir: "~> 1.0"]
[
app: :benchfella,
version: "0.2.0",
elixir: "~> 1.0",
description: description,
package: package,
]
end

def application do
[applications: []]
end

defp description do
"Microbenchmarking tool for Elixir."
end

defp package do
[
files: ["lib", "priv", "mix.exs", "README.md", "LICENSE"],
contributors: ["Alexei Sholik"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/alco/benchfella",
}
]
end

# no deps
# --alco
end

0 comments on commit 0501175

Please sign in to comment.