Rename the app to rdf

This commit is contained in:
Marcel Otto 2017-06-11 17:23:58 +02:00
parent e3a1496a4d
commit a160fa6517
3 changed files with 10 additions and 12 deletions

View file

@ -8,19 +8,19 @@ An implementation of the [RDF](https://www.w3.org/TR/rdf11-primer/) data model i
The [Hex package](https://hex.pm/docs/publish) can be installed as usual: 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`: 1. Add `rdf` to your list of dependencies in `mix.exs`:
```elixir ```elixir
def deps do def deps do
[{:rdf_core, "~> 0.1.0"}] [{:rdf, "~> 0.1.0"}]
end end
``` ```
2. Ensure `rdf_core` is started before your application: 2. Ensure `rdf` is started before your application:
```elixir ```elixir
def application do def application do
[applications: [:rdf_core]] [applications: [:rdf]]
end end
``` ```

10
mix.exs
View file

@ -1,11 +1,11 @@
defmodule RDF.Core.Mixfile do defmodule RDF.Mixfile do
use Mix.Project use Mix.Project
@version "0.0.1" @version "0.0.1"
def project do def project do
[ [
app: :rdf_core, app: :rdf,
version: @version, version: @version,
elixir: "~> 1.3", elixir: "~> 1.3",
build_embedded: Mix.env == :prod, build_embedded: Mix.env == :prod,
@ -24,11 +24,11 @@ defmodule RDF.Core.Mixfile do
defp package do defp package do
[ [
name: :rdf_core, name: :rdf,
maintainers: ["Marcel Otto"], maintainers: ["Marcel Otto"],
licenses: ["MIT"], licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/rdfex/rdf_core", links: %{"GitHub" => "https://github.com/rdfex/rdf",
"Docs" => "http://rdfex.github.io/rdf_core)/"}, "Docs" => "http://rdfex.github.io/rdf)/"},
files: ["lib", "priv", "mix.exs", "README*", "readme*", "LICENSE*", "license*"] files: ["lib", "priv", "mix.exs", "README*", "readme*", "LICENSE*", "license*"]
] ]
end end

View file

@ -1,4 +1,4 @@
defmodule RDF.CoreTest do defmodule RDFTest do
use ExUnit.Case use ExUnit.Case
use RDF.Vocabulary.Namespace use RDF.Vocabulary.Namespace
@ -8,6 +8,4 @@ defmodule RDF.CoreTest do
doctest RDF doctest RDF
# alias RDF.{Triple, Literal, BlankNode}
end end