Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33095864
frontend.ex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
854 B
Referenced Files
None
Subscribers
None
frontend.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Mix.Tasks.Pleroma.Frontend
do
use
Mix.Task
import
Mix.Pleroma
@shortdoc
"Manages bundled Pleroma frontends"
@moduledoc
File
.
read!
(
"docs/administration/CLI_tasks/frontend.md"
)
def
run
([
"install"
,
"none"
|
_args
])
do
shell_info
(
"Skipping frontend installation because none was requested"
)
"none"
end
def
run
([
"install"
,
frontend
|
args
])
do
start_pleroma
()
{
options
,
[],
[]}
=
OptionParser
.
parse
(
args
,
strict
:
[
ref
:
:string
,
static_dir
:
:string
,
build_url
:
:string
,
build_dir
:
:string
,
file
:
:string
]
)
Pleroma.Frontend
.
install
(
frontend
,
options
)
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Tue, Jan 20, 9:56 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
867370
Default Alt Text
frontend.ex (854 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment