mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Introduce CustomPage command
This commit is contained in:
parent
329619b345
commit
e8bd7ce7cc
9 changed files with 89 additions and 62 deletions
|
@ -8,6 +8,7 @@ import { randomInt } from '../../core-utils/miscs/miscs'
|
|||
import { VideoChannel } from '../../models/videos'
|
||||
import { BulkCommand } from '../bulk'
|
||||
import { CLICommand } from '../cli'
|
||||
import { CustomPagesCommand } from '../custom-pages'
|
||||
import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs'
|
||||
import { makeGetRequest } from '../requests/requests'
|
||||
|
||||
|
@ -65,6 +66,7 @@ interface ServerInfo {
|
|||
|
||||
bulkCommand?: BulkCommand
|
||||
cliCommand?: CLICommand
|
||||
customPageCommand?: CustomPagesCommand
|
||||
}
|
||||
|
||||
function parallelTests () {
|
||||
|
@ -272,6 +274,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
|
|||
|
||||
server.bulkCommand = new BulkCommand(server)
|
||||
server.cliCommand = new CLICommand(server)
|
||||
server.customPageCommand = new CustomPagesCommand(server)
|
||||
|
||||
res(server)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue