mirror of
https://codeberg.org/godmaire/sergei.git
synced 2024-09-20 00:08:25 +00:00
f77773f377
Use the newest versions of plug_cowboy, alpine, and nostrum. We are using the git version of Nostrum because v0.8 has a bug in the cache code
33 lines
579 B
Elixir
33 lines
579 B
Elixir
defmodule Sergei.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :sergei,
|
|
version: "0.1.1",
|
|
elixir: "~> 1.14",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps(),
|
|
releases: [
|
|
sergei: [
|
|
include_executables_for: [:unix],
|
|
steps: [:assemble, :tar]
|
|
]
|
|
]
|
|
]
|
|
end
|
|
|
|
def application do
|
|
[
|
|
mod: {Sergei.Application, []},
|
|
extra_applications: [:logger]
|
|
]
|
|
end
|
|
|
|
defp deps do
|
|
[
|
|
{:plug_cowboy, "~> 2.6.1"},
|
|
{:nostrum, github: "Kraigie/nostrum"}
|
|
]
|
|
end
|
|
end
|