mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
One can not simply call application modules from mix.exs
This commit is contained in:
parent
aedbbec88a
commit
05187d497d
1 changed files with 1 additions and 1 deletions
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