Add inch and inch_ci.

This commit is contained in:
James Harton 2017-04-27 08:01:56 +12:00
parent 7a1d171615
commit 51c691d8d3
5 changed files with 16 additions and 3 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
erl_crash.dump
*.ez
doc/
docs/

View file

@ -1,3 +1,10 @@
language: elixir
elixir:
- 1.4.1
otp_release:
- 17.4
- 19.2
script:
- mix test
after_script:
- mix deps.get --only docs
- MIX_ENV=docs mix inch.report

View file

@ -1,6 +1,7 @@
# LexLuthor
[![Build Status](https://travis-ci.org/jamesotron/lex_luthor.svg)](https://travis-ci.org/jamesotron/lex_luthor)
[![Inline docs](http://inch-ci.org/github/jamesotron/lex_luthor.svg)](http://inch-ci.org/github/jamesotron/lex_luthor)
LexLuthor is a Lexer in Elixir (say that 10 times fast) which uses macros to generate a reusable lexers. Good times.

View file

@ -7,6 +7,7 @@ defmodule LexLuthor.Mixfile do
elixir: "~> 1.0",
description: "LexLuthor is a Lexer in Elixir (say that 10 times fast) which uses macros to generate a reusable lexers. Good times.",
source_url: "https://github.com/jamesotron/lex_luthor",
preferred_cli_env: [inch: :docs],
package: [
contributors: ["James Harton"],
licenses: ["MIT"],
@ -33,7 +34,8 @@ defmodule LexLuthor.Mixfile do
# Type `mix help deps` for more examples and options
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev}
{:ex_doc, ">= 0.0.0", only: :dev},
{:inch_ex, only: :docs}
]
end
end

View file

@ -1,2 +1,4 @@
%{"earmark": {:hex, :earmark, "1.0.1", "2c2cd903bfdc3de3f189bd9a8d4569a075b88a8981ded9a0d95672f6e2b63141", [:mix], []},
"ex_doc": {:hex, :ex_doc, "0.13.0", "aa2f8fe4c6136a2f7cfc0a7e06805f82530e91df00e2bff4b4362002b43ada65", [:mix], [{:earmark, "~> 1.0", [hex: :earmark, optional: false]}]}}
"ex_doc": {:hex, :ex_doc, "0.13.0", "aa2f8fe4c6136a2f7cfc0a7e06805f82530e91df00e2bff4b4362002b43ada65", [:mix], [{:earmark, "~> 1.0", [hex: :earmark, optional: false]}]},
"inch_ex": {:hex, :inch_ex, "0.5.6", "418357418a553baa6d04eccd1b44171936817db61f4c0840112b420b8e378e67", [:mix], [{:poison, "~> 1.5 or ~> 2.0 or ~> 3.0", [hex: :poison, optional: false]}]},
"poison": {:hex, :poison, "3.1.0", "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665", [:mix], []}}