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
**TODO: Add description**
## 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>.
A `Task`-like process you can add to your `Supervisor` to run a function before
other processes are started.

View file

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

17
mix.exs
View file

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

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