chore: empty out boilerplate

This commit is contained in:
sloane 2024-06-13 17:02:18 -04:00
parent c96259b996
commit c7be19c9e1
No known key found for this signature in database
4 changed files with 7 additions and 55 deletions

View file

@ -1,21 +1,4 @@
# Init # Init
**TODO: Add description** A `Task`-like process you can add to your `Supervisor` to run a function before
other processes are started.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `init` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:init, "~> 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 <https://hexdocs.pm/init>.

View file

@ -1,18 +1,2 @@
defmodule Init do defmodule Init do
@moduledoc """
Documentation for `Init`.
"""
@doc """
Hello world.
## Examples
iex> Init.hello()
:world
"""
def hello do
:world
end
end end

17
mix.exs
View file

@ -1,28 +1,21 @@
defmodule Init.MixProject do defmodule Init.MixProject do
use Mix.Project use Mix.Project
@vsn "1.0.0"
def project do def project do
[ [
app: :init, app: :init,
version: "0.1.0", version: @vsn,
elixir: "~> 1.17", elixir: "~> 1.15",
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,
deps: deps() deps: []
] ]
end end
# Run "mix help compile.app" to learn about applications.
def application do def application do
[ [
extra_applications: [:logger] extra_applications: [:logger]
] ]
end 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 end

View file

@ -1,8 +0,0 @@
defmodule InitTest do
use ExUnit.Case
doctest Init
test "greets the world" do
assert Init.hello() == :world
end
end