blob: b5ff6f08ca97b74690d6dcb56da0408fdaabbb68 [file] [log] [blame]
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +02001import DependenciesProviderSingleton, { Dependency } from "../../dependenciesProvider/DependenciesProvider";
2import Script from "../Script";
3
4export default abstract class SetUpDependenciesScript extends Script {
5 abstract dependencies: Dependency[];
6
7 execute() {
8 const dependenciesProvider = DependenciesProviderSingleton.getInstance();
9 this.dependencies.forEach(dependency => {
10 dependenciesProvider.setUpDependency(dependency);
11 });
12 }
13}