1
0
Fork 0
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:
Chocobozzz 2021-07-06 09:55:05 +02:00
parent 329619b345
commit e8bd7ce7cc
No known key found for this signature in database
GPG key ID: 583A612D890159BE
9 changed files with 89 additions and 62 deletions

View file

@ -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)
})