diff --git a/.formatter.exs b/.formatter.exs index d2cda26..d304ff3 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -1,4 +1,3 @@ -# Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] ] diff --git a/README.md b/README.md index 1d20fa1..859a499 100644 --- a/README.md +++ b/README.md @@ -1,21 +1 @@ # AbsintheOneOf - -**TODO: Add description** - -## Installation - -If [available in Hex](https://hex.pm/docs/publish), the package can be installed -by adding `absinthe_one_of` to your list of dependencies in `mix.exs`: - -```elixir -def deps do - [ - {:absinthe_one_of, "~> 0.1.0"} - ] -end -``` - -Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc) -and published on [HexDocs](https://hexdocs.pm). Once published, the docs can -be found at . - diff --git a/lib/absinthe_one_of.ex b/lib/absinthe_one_of.ex index 9e8e936..63d774f 100644 --- a/lib/absinthe_one_of.ex +++ b/lib/absinthe_one_of.ex @@ -1,18 +1,2 @@ defmodule AbsintheOneOf do - @moduledoc """ - Documentation for `AbsintheOneOf`. - """ - - @doc """ - Hello world. - - ## Examples - - iex> AbsintheOneOf.hello() - :world - - """ - def hello do - :world - end end diff --git a/mix.exs b/mix.exs index 8016081..41d7171 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule AbsintheOneOf.MixProject do use Mix.Project - def project do + def project() do [ app: :absinthe_one_of, version: "0.1.0", @@ -11,18 +11,13 @@ defmodule AbsintheOneOf.MixProject do ] end - # Run "mix help compile.app" to learn about applications. - def application do + def application() do [ extra_applications: [:logger] ] end - # Run "mix help deps" to learn about dependencies. defp deps do - [ - # {:dep_from_hexpm, "~> 0.3.0"}, - # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} - ] + [] end end diff --git a/test/absinthe_one_of_test.exs b/test/absinthe_one_of_test.exs deleted file mode 100644 index 823756a..0000000 --- a/test/absinthe_one_of_test.exs +++ /dev/null @@ -1,8 +0,0 @@ -defmodule AbsintheOneOfTest do - use ExUnit.Case - doctest AbsintheOneOf - - test "greets the world" do - assert AbsintheOneOf.hello() == :world - end -end