-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
33 lines (30 loc) · 918 Bytes
/
Copy pathmix.exs
File metadata and controls
33 lines (30 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
defmodule RepoTasks.MixProject do
use Mix.Project
# Repo-management tasks (mix container.build/publish, and more to come) -
# deliberately its own Mix project, sibling to app/, not nested inside it.
# app/ is the CLI itself; this is tooling that operates ON the repo as a
# whole (this file's own directory, plus ci/, oci/, .github/workflows/ -
# things app/'s own mix.exs has no business knowing about). Its dependencies
# support repo-management tasks and do not become app dependencies. Tasks
# use child processes or direct service requests as needed.
def project do
[
app: :repo_tasks,
version: "0.1.0",
elixir: "~> 1.20",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:req, "~> 0.7"},
{:plug, "~> 1.0", only: :test}
]
end
end