Skip to content

Commit

Permalink
add build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
slogsdon committed Oct 4, 2015
1 parent f3f176d commit 25c5c8c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: elixir
elixir:
- 1.0.5
- 1.1.0
otp_release:
- 17.3
- 18.1
before_script:
- MIX_ENV=test mix do deps.get, compile
after_success:
- MIX_ENV=test mix coveralls.travis
- MIX_ENV=test mix dogma
after_script:
- MIX_ENV=docs mix deps.get
- MIX_ENV=docs mix inch.report
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Control
[![Build Status](https://img.shields.io/travis/slogsdon/elixir-control.svg?style=flat)](https://travis-ci.org/slogsdon/elixir-control)
[![Coverage Status](https://img.shields.io/coveralls/slogsdon/elixir-control.svg?style=flat)](https://coveralls.io/r/slogsdon/elixir-control)
[![Hex.pm Version](http://img.shields.io/hexpm/v/control.svg?style=flat)](https://hex.pm/packages/control)

An exploratory look into functors, applicatives, and monads for Elixir. See [the accompanying blog post](http://www.slogsdon.com/functors-applicatives-and-monads-in-elixir/) for more details.

Expand Down
9 changes: 8 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ defmodule Control.Mixfile do
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
description: description,
package: package,
deps: deps]
Expand All @@ -17,7 +18,13 @@ defmodule Control.Mixfile do
end

defp deps do
[]
[
{ :earmark, "~> 0.1.17", only: :docs },
{ :ex_doc, "~> 0.7.3", only: :docs },

{ :excoveralls, "~> 0.3.11", only: :test },
{ :dialyze, "~> 0.2.0", only: :test }
]
end

defp description do
Expand Down
9 changes: 9 additions & 0 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
%{"dialyze": {:hex, :dialyze, "0.2.0"},
"earmark": {:hex, :earmark, "0.1.17"},
"ex_doc": {:hex, :ex_doc, "0.7.3"},
"excoveralls": {:hex, :excoveralls, "0.3.11"},
"exjsx": {:hex, :exjsx, "3.2.0"},
"hackney": {:hex, :hackney, "1.3.2"},
"idna": {:hex, :idna, "1.0.2"},
"jsx": {:hex, :jsx, "2.6.2"},
"ssl_verify_hostname": {:hex, :ssl_verify_hostname, "1.0.5"}}

0 comments on commit 25c5c8c

Please sign in to comment.