Implement dependencies specification for modules

Implement dependency ordering and version checking for modules.
This commit is contained in:
Hornwitser committed 2020-01-04 17:34:16 +01:00
1 parent 80bd75ba16
commit e89e54ee27
7 files changed
+255 -3

No files matched your search

+4
View File
@@ -23,10 +23,14 @@ describe("Integration of lib/factorio/patch", function() {
slowTest(this);
await factorio.patch(savePath, [{
name: "test",
version: "1.0.0",
dependencies: {},
path: "test/file/modules/test",
load: [],
}, {
name: "subdir",
version: "1.0.0",
dependencies: {},
path: "test/file/modules/subdir",
load: [],
}]);