diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 10:21:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:16 +0200 |
commit | c1bc8ee4783d6ce3102524e6c2a02b2f0f6aab6d (patch) | |
tree | 6f173749e46a79e6eca0bfd1f742054fa7276e7e /shared/extra-utils/server | |
parent | e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6 (diff) | |
download | PeerTube-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.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 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' | |||
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 { CustomPagesCommand } from '../custom-pages' |
12 | import { FeedCommand } from '../feeds' | ||
12 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' | 13 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' |
13 | import { makeGetRequest } from '../requests/requests' | 14 | import { 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 | ||
72 | function parallelTests () { | 74 | function 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 | }) |