mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-08 09:24:18 +00:00
One can not simply call application modules from mix.exs
This commit is contained in:
parent
aedbbec88a
commit
05187d497d
2
mix.exs
2
mix.exs
|
@ -234,7 +234,7 @@ defmodule Pleroma.Mixfile do
|
|||
defp version(version) do
|
||||
identifier_filter = ~r/[^0-9a-z\-]+/i
|
||||
|
||||
git_available? = Pleroma.Utils.command_available?("git")
|
||||
git_available? = match?({_output, 0}, System.cmd("sh", ["-c", "command -v git"]))
|
||||
|
||||
git_pre_release =
|
||||
if git_available? do
|
||||
|
|
Loading…
Reference in a new issue