aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-06 10:21:35 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:16 +0200
commitc1bc8ee4783d6ce3102524e6c2a02b2f0f6aab6d (patch)
tree6f173749e46a79e6eca0bfd1f742054fa7276e7e /shared/extra-utils/server
parente8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6 (diff)
downloadPeerTube-c1bc8ee4783d6ce3102524e6c2a02b2f0f6aab6d.tar.gz
PeerTube-c1bc8ee4783d6ce3102524e6c2a02b2f0f6aab6d.tar.zst
PeerTube-c1bc8ee4783d6ce3102524e6c2a02b2f0f6aab6d.zip
Introduce feed command
Diffstat (limited to 'shared/extra-utils/server')
-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 e07926065..b64c9eec6 100644
--- a/shared/extra-utils/server/servers.ts
+++ b/shared/extra-utils/server/servers.ts
@@ -9,6 +9,7 @@ import { 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 { CustomPagesCommand } from '../custom-pages'
12import { FeedCommand } from '../feeds'
12import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' 13import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs'
13import { makeGetRequest } from '../requests/requests' 14import { makeGetRequest } from '../requests/requests'
14 15
@@ -67,6 +68,7 @@ interface ServerInfo {
67 bulkCommand?: BulkCommand 68 bulkCommand?: BulkCommand
68 cliCommand?: CLICommand 69 cliCommand?: CLICommand
69 customPageCommand?: CustomPagesCommand 70 customPageCommand?: CustomPagesCommand
71 feedCommand?: FeedCommand
70} 72}
71 73
72function parallelTests () { 74function parallelTests () {
@@ -275,6 +277,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
275 server.bulkCommand = new BulkCommand(server) 277 server.bulkCommand = new BulkCommand(server)
276 server.cliCommand = new CLICommand(server) 278 server.cliCommand = new CLICommand(server)
277 server.customPageCommand = new CustomPagesCommand(server) 279 server.customPageCommand = new CustomPagesCommand(server)
280 server.feedCommand = new FeedCommand(server)
278 281
279 res(server) 282 res(server)
280 }) 283 })