Add some basic project metadata

This commit is contained in:
Marcel Otto 2016-09-30 16:51:59 +02:00
parent 6bf255f133
commit a5d62b036b
3 changed files with 52 additions and 29 deletions

22
LICENSE.md Normal file
View file

@ -0,0 +1,22 @@
# MIT License
Copyright (c) 2016 Marcel Otto
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:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
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.

View file

@ -1,10 +1,11 @@
# RDF.Core
**TODO: Add description**
An implementation of the RDF and the basic accompanied standards for Elixir.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
The [Hex package](https://hex.pm/docs/publish) can be installed as usual:
1. Add `rdf_core` to your list of dependencies in `mix.exs`:
@ -21,4 +22,3 @@ If [available in Hex](https://hex.pm/docs/publish), the package can be installed
[applications: [:rdf_core]]
end
```

53
mix.exs
View file

@ -1,39 +1,40 @@
defmodule RDF.Core.Mixfile do
use Mix.Project
@version "0.0.1"
def project do
[app: :rdf_core,
version: "0.1.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
[
app: :rdf_core,
version: @version,
description: "An implementation of RDF and accompanied standards for Elixir",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package,
deps: deps
]
end
defp package do
[
name: :rdf_core,
maintainers: ["Marcel Otto"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/rdfex/rdf_core",
"Docs" => "http://rdfex.github.io/rdf_core)/"},
files: ["lib", "priv", "mix.exs", "README*", "readme*", "LICENSE*", "license*"]
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# To depend on another app inside the umbrella:
#
# {:myapp, in_umbrella: true}
#
# Type "mix help deps" for more examples and options
defp deps do
[]
end