diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-07 10:33:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | ae2abfd3aed3e75d39a316b49b914d187faa7475 (patch) | |
tree | 4d5060dc310f3d8cdcd5829779522f49b3d10e71 /shared/extra-utils/server/servers.ts | |
parent | 9c6327f803aaf4200672f1fc40b2f43786daca47 (diff) | |
download | PeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.tar.gz PeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.tar.zst PeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.zip |
Introduce plugins command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-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 5511ce0b0..79d6b7b1a 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -20,6 +20,7 @@ import { ContactFormCommand } from './contact-form-command' | |||
20 | import { DebugCommand } from './debug-command' | 20 | import { DebugCommand } from './debug-command' |
21 | import { FollowsCommand } from './follows-command' | 21 | import { FollowsCommand } from './follows-command' |
22 | import { JobsCommand } from './jobs-command' | 22 | import { JobsCommand } from './jobs-command' |
23 | import { PluginsCommand } from './plugins-command' | ||
23 | 24 | ||
24 | interface ServerInfo { | 25 | interface ServerInfo { |
25 | app: ChildProcess | 26 | app: ChildProcess |
@@ -85,6 +86,7 @@ interface ServerInfo { | |||
85 | debugCommand?: DebugCommand | 86 | debugCommand?: DebugCommand |
86 | followsCommand?: FollowsCommand | 87 | followsCommand?: FollowsCommand |
87 | jobsCommand?: JobsCommand | 88 | jobsCommand?: JobsCommand |
89 | pluginsCommand?: PluginsCommand | ||
88 | } | 90 | } |
89 | 91 | ||
90 | function parallelTests () { | 92 | function parallelTests () { |
@@ -302,6 +304,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
302 | server.debugCommand = new DebugCommand(server) | 304 | server.debugCommand = new DebugCommand(server) |
303 | server.followsCommand = new FollowsCommand(server) | 305 | server.followsCommand = new FollowsCommand(server) |
304 | server.jobsCommand = new JobsCommand(server) | 306 | server.jobsCommand = new JobsCommand(server) |
307 | server.pluginsCommand = new PluginsCommand(server) | ||
305 | 308 | ||
306 | res(server) | 309 | res(server) |
307 | }) | 310 | }) |