forked from AkkomaGang/akkoma
ilja
be5044f785
There were async calls happening, so they weren't always finished when assert happened. I also fixed some bugs in the erratic tests that were introduced when removing :shout.:shout is a key where restart is needed, and was changed in the test to use :rate_limit (which also requires a restart). But there was a bug in the syntax that didn't get caught because the test was tagged as erratic and therefor didn't fail. Here I fixed it. During compilation, we had a warning `:logger is used by the current application but the current application does not depend on :logger` which is now fixed as well (see commit message for complete stacktrace). Co-authored-by: Ilja <ilja@ilja.space> Reviewed-on: AkkomaGang/akkoma#237 Co-authored-by: ilja <akkoma.dev@ilja.space> Co-committed-by: ilja <akkoma.dev@ilja.space>
22 lines
350 B
Elixir
22 lines
350 B
Elixir
defmodule Restarter.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :restarter,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.8",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps()
|
|
]
|
|
end
|
|
|
|
def application do
|
|
[
|
|
mod: {Restarter, []},
|
|
extra_applications: [:logger]
|
|
]
|
|
end
|
|
|
|
defp deps, do: []
|
|
end
|