mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-22 14:45:16 +00:00
format everything
This commit is contained in:
parent
5b11543c96
commit
f15c9e8b08
|
@ -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