Skip to content

Commit a39783b

Browse files
committed
chore: update project def and doc
1 parent df60b51 commit a39783b

File tree

2 files changed

+7
-27
lines changed

2 files changed

+7
-27
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,13 @@ conn
2323

2424
## Installation
2525

26-
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
27-
by adding `assert_match` to your list of dependencies in `mix.exs`:
28-
2926
```elixir
3027
def deps do
3128
[
32-
{:assert_match, "~> 0.1.0"}
29+
# If available in Hex
30+
{:assert_match, "~> 1.0", only: [:test]}
31+
# If not, or, if you need bleeding edge
32+
{:assert_match, github: "siiibo/assert_match", ref: "main", only: [:test]}
3333
]
3434
end
3535
```
36-
37-
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
38-
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
39-
be found at <https://hexdocs.pm/assert_match>.

mix.exs

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,9 @@ defmodule AssertMatch.MixProject do
44
def project do
55
[
66
app: :assert_match,
7-
version: "0.1.0",
8-
elixir: "~> 1.14",
9-
start_permanent: Mix.env() == :prod,
10-
deps: deps()
11-
]
12-
end
13-
14-
# Run "mix help compile.app" to learn about applications.
15-
def application do
16-
[
17-
extra_applications: [:logger]
18-
]
19-
end
20-
21-
# Run "mix help deps" to learn about dependencies.
22-
defp deps do
23-
[
24-
# {:dep_from_hexpm, "~> 0.3.0"},
25-
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
7+
version: "1.0.0",
8+
elixir: "~> 1.10",
9+
deps: []
2610
]
2711
end
2812
end

0 commit comments

Comments
 (0)