aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/servers.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-06 09:55:05 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:16 +0200
commite8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6 (patch)
treec888e13aca3fc239f46d44045df6bf8e2a2ef0d3 /shared/extra-utils/server/servers.ts
parent329619b3453479f76c049816b7403b86e9d45cb5 (diff)
downloadPeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.tar.gz
PeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.tar.zst
PeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.zip
Introduce CustomPage command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r--shared/extra-utils/server/servers.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts
index 1b0775421..e07926065 100644
--- a/shared/extra-utils/server/servers.ts
+++ b/shared/extra-utils/server/servers.ts
@@ -8,6 +8,7 @@ import { randomInt } from '../../core-utils/miscs/miscs'
8import { VideoChannel } from '../../models/videos' 8import { VideoChannel } from '../../models/videos'
9import { BulkCommand } from '../bulk' 9import { BulkCommand } from '../bulk'
10import { CLICommand } from '../cli' 10import { CLICommand } from '../cli'
11import { CustomPagesCommand } from '../custom-pages'
11import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' 12import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs'
12import { makeGetRequest } from '../requests/requests' 13import { makeGetRequest } from '../requests/requests'
13 14
@@ -65,6 +66,7 @@ interface ServerInfo {
65 66
66 bulkCommand?: BulkCommand 67 bulkCommand?: BulkCommand
67 cliCommand?: CLICommand 68 cliCommand?: CLICommand
69 customPageCommand?: CustomPagesCommand
68} 70}
69 71
70function parallelTests () { 72function parallelTests () {
@@ -272,6 +274,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
272 274
273 server.bulkCommand = new BulkCommand(server) 275 server.bulkCommand = new BulkCommand(server)
274 server.cliCommand = new CLICommand(server) 276 server.cliCommand = new CLICommand(server)
277 server.customPageCommand = new CustomPagesCommand(server)
275 278
276 res(server) 279 res(server)
277 }) 280 })