Adrià Vilanova Martínez | 58cc67c | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 1 | import DependenciesProviderSingleton, { Dependency } from "../../dependenciesProvider/DependenciesProvider"; |
| 2 | import Script from "../Script"; |
| 3 | |
Adrià Vilanova Martínez | 8b591d9 | 2024-10-19 15:55:15 +0200 | [diff] [blame^] | 4 | /** |
| 5 | * @deprecated |
| 6 | */ |
Adrià Vilanova Martínez | 58cc67c | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 7 | export default abstract class SetUpDependenciesScript extends Script { |
| 8 | abstract dependencies: Dependency[]; |
| 9 | |
| 10 | execute() { |
| 11 | const dependenciesProvider = DependenciesProviderSingleton.getInstance(); |
| 12 | this.dependencies.forEach(dependency => { |
| 13 | dependenciesProvider.setUpDependency(dependency); |
| 14 | }); |
| 15 | } |
| 16 | } |