···21212222# Ignore package tarball (built via "mix hex.build").
2323noir-*.tar
2424-
-20
README.md
···11# Noir
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 `noir` to your list of dependencies in `mix.exs`:
99-1010-```elixir
1111-def deps do
1212- [
1313- {:noir, "~> 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/noir>.
2121-
-16
lib/noir.ex
···11defmodule Noir do
22- @moduledoc """
33- Documentation for `Noir`.
44- """
55-66- @doc """
77- Hello world.
88-99- ## Examples
1010-1111- iex> Noir.hello()
1212- :world
1313-1414- """
1515- def hello do
1616- :world
1717- end
182end
+2-4
mix.exs
···77 version: "0.1.0",
88 elixir: "~> 1.19",
99 start_permanent: Mix.env() == :prod,
1010- deps: deps()
1010+ deps: deps(),
1111 ]
1212 end
13131414 # Run "mix help compile.app" to learn about applications.
1515 def application do
1616 [
1717- extra_applications: [:logger]
1717+ extra_applications: [:logger],
1818 ]
1919 end
20202121 # 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/noir_test.exs
···11defmodule NoirTest do
22 use ExUnit.Case
33- doctest Noir
44-55- test "greets the world" do
66- assert Noir.hello() == :world
77- end
83end