Skip to content

Commit 2a1cec8

Browse files
authored
Merge pull request #2 from peek-travel/readme
update readme and include license
2 parents 9f76deb + caa4004 commit 2a1cec8

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

LICENSE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The MIT License (MIT)
2+
3+
Copyright 2018 Peek Travel, Inc.
4+
5+
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:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
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.

README.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
# Excal
2-
3-
**WIP**
2+
[![Build Status](https://travis-ci.com/peek-travel/excal.svg?branch=master)](https://travis-ci.org/peek-travel/excal) [![codecov](https://codecov.io/gh/peek-travel/excal/branch/master/graph/badge.svg)](https://codecov.io/gh/peek-travel/excal) [![Hex.pm Version](https://img.shields.io/hexpm/v/excal.svg?style=flat)](https://hex.pm/packages/excal) [![License](https://img.shields.io/hexpm/l/excal.svg)](LICENSE.md)
43

54
NIF bindings to [libical](https://libical.github.io/libical/) for Elixir.
65

6+
This library is a **WIP**!
7+
8+
## Requirements
9+
10+
Excal requires that libical be present on your system, and that it's the very latest version. This effectively means that
11+
you need to build it from source. I'll include instructions on how to accomplish this soon.
12+
713
## Installation
814

9-
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
10-
by adding `excal` to your list of dependencies in `mix.exs`:
15+
The package can be installed by adding `excal` to your list of dependencies in `mix.exs`:
1116

1217
```elixir
1318
def deps do
@@ -17,6 +22,4 @@ def deps do
1722
end
1823
```
1924

20-
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
21-
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
22-
be found at [https://hexdocs.pm/excal](https://hexdocs.pm/excal).
25+
Documentation can be found at [https://hexdocs.pm/excal](https://hexdocs.pm/excal).

mix.exs

+18
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ defmodule Excal.MixProject do
1515
version: "0.1.0",
1616
elixir: "~> 1.6",
1717
start_permanent: Mix.env() == :prod,
18+
description: description(),
19+
package: package(),
1820
deps: deps(),
1921
test_coverage: [tool: ExCoveralls],
2022
preferred_cli_env: [coveralls: :test]
@@ -27,6 +29,22 @@ defmodule Excal.MixProject do
2729
]
2830
end
2931

32+
defp description do
33+
"""
34+
NIF bindings to libical providing icalendar rrule expansion.
35+
"""
36+
end
37+
38+
defp package do
39+
[
40+
maintainers: ["Chris Dosé <[email protected]>"],
41+
licenses: ["MIT"],
42+
links: %{
43+
"GitHub" => "https://github.com/peek-travel/excal"
44+
}
45+
]
46+
end
47+
3048
defp deps do
3149
[
3250
{:benchee, "~> 0.13", only: :dev, runtime: false},

0 commit comments

Comments
 (0)