diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 09:55:05 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:16 +0200 |
commit | e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6 (patch) | |
tree | c888e13aca3fc239f46d44045df6bf8e2a2ef0d3 /shared/extra-utils/server | |
parent | 329619b3453479f76c049816b7403b86e9d45cb5 (diff) | |
download | PeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.tar.gz PeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.tar.zst PeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.zip |
Introduce CustomPage command
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 3 |
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' | |||
8 | import { VideoChannel } from '../../models/videos' | 8 | import { VideoChannel } from '../../models/videos' |
9 | import { BulkCommand } from '../bulk' | 9 | import { BulkCommand } from '../bulk' |
10 | import { CLICommand } from '../cli' | 10 | import { CLICommand } from '../cli' |
11 | import { CustomPagesCommand } from '../custom-pages' | ||
11 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' | 12 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' |
12 | import { makeGetRequest } from '../requests/requests' | 13 | import { 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 | ||
70 | function parallelTests () { | 72 | function 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 | }) |