···21212222# Ignore package tarball (built via "mix hex.build").
2323trinity-*.tar
2424-
-20
README.md
···11# Trinity
22-33-**TODO: Add description**
44-55-## Installation
66-77-If [available in Hex](https://hex.pm/docs/publish), the package can be installed
88-by adding `trinity` to your list of dependencies in `mix.exs`:
99-1010-```elixir
1111-def deps do
1212- [
1313- {:trinity, "~> 0.1.0"}
1414- ]
1515-end
1616-```
1717-1818-Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
1919-and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
2020-be found at <https://hexdocs.pm/trinity>.
2121-
-16
lib/trinity.ex
···11defmodule Trinity do
22- @moduledoc """
33- Documentation for `Trinity`.
44- """
55-66- @doc """
77- Hello world.
88-99- ## Examples
1010-1111- iex> Trinity.hello()
1212- :world
1313-1414- """
1515- def hello do
1616- :world
1717- end
182end
-2
mix.exs
···2121 # Run "mix help deps" to learn about dependencies.
2222 defp deps do
2323 [
2424- # {:dep_from_hexpm, "~> 0.3.0"},
2525- # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
2624 ]
2725 end
2826end
-5
test/trinity_test.exs
···11defmodule TrinityTest do
22 use ExUnit.Case
33- doctest Trinity
44-55- test "greets the world" do
66- assert Trinity.hello() == :world
77- end
83end