2024-10-12 14:38:08 +02:00
|
|
|
defmodule HahaYes.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :haha_yes,
|
|
|
|
version: "0.1.0",
|
|
|
|
elixir: "~> 1.17",
|
|
|
|
start_permanent: Mix.env() == :prod,
|
|
|
|
deps: deps()
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
|
|
def application do
|
|
|
|
[
|
|
|
|
extra_applications: [:logger],
|
|
|
|
mod: {HahaYes.Application, []}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
|
|
|
[
|
|
|
|
{:nostrum, github: "Kraigie/nostrum"},
|
2024-10-12 17:13:47 +02:00
|
|
|
{:ecto_sql, "~> 3.2"},
|
|
|
|
{:ecto_sqlite3, "~> 0.16"},
|
2024-10-12 14:38:08 +02:00
|
|
|
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
|
|
|
|
# {:dep_from_hexpm, "~> 0.3.0"},
|
|
|
|
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|