forked from mirrors/akkoma
format everything
This commit is contained in:
parent
5b11543c96
commit
f15c9e8b08
2 changed files with 2 additions and 2 deletions
|
@ -735,8 +735,7 @@ config :pleroma, :frontends,
|
||||||
"pleroma-fe" => %{
|
"pleroma-fe" => %{
|
||||||
"name" => "pleroma-fe",
|
"name" => "pleroma-fe",
|
||||||
"git" => "https://akkoma.dev/AkkomaGang/pleroma-fe",
|
"git" => "https://akkoma.dev/AkkomaGang/pleroma-fe",
|
||||||
"build_url" =>
|
"build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/akkoma-fe.zip",
|
||||||
"https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/akkoma-fe.zip",
|
|
||||||
"ref" => "develop",
|
"ref" => "develop",
|
||||||
"build_dir" => "dist"
|
"build_dir" => "dist"
|
||||||
},
|
},
|
||||||
|
|
|
@ -33,6 +33,7 @@ defmodule Pleroma.Frontend do
|
||||||
label = "#{name} (#{ref})"
|
label = "#{name} (#{ref})"
|
||||||
tmp_dir = Path.join(dir(), "tmp")
|
tmp_dir = Path.join(dir(), "tmp")
|
||||||
IO.puts("Downloading #{label}...")
|
IO.puts("Downloading #{label}...")
|
||||||
|
|
||||||
with {_, :ok} <-
|
with {_, :ok} <-
|
||||||
{:download_or_unzip, download_or_unzip(frontend_info, tmp_dir, opts[:file])},
|
{:download_or_unzip, download_or_unzip(frontend_info, tmp_dir, opts[:file])},
|
||||||
IO.puts("Installing #{label} to #{dest}"),
|
IO.puts("Installing #{label} to #{dest}"),
|
||||||
|
|
Loading…
Reference in a new issue