diff --git a/Package.resolved b/Package.resolved index bccbc83..db22be3 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/orta/Komondor.git", "state": { "branch": null, - "revision": "e48fb2186f642885254277038508f5f2c7d96eb3", - "version": "1.0.1" + "revision": "265fd04de2316edc72d9065d2ef5118b20a71187", + "version": "1.0.2" } }, { @@ -24,8 +24,8 @@ "repositoryURL": "https://github.com/Quick/Nimble", "state": { "branch": null, - "revision": "9a281b1cfa1c53d1e8bd92e1798e4e473af8d263", - "version": "7.3.3" + "revision": "e9d769113660769a4d9dd3afb855562c0b7ae7b0", + "version": "7.3.4" } }, { @@ -33,8 +33,8 @@ "repositoryURL": "https://github.com/orta/PackageConfig.git", "state": { "branch": null, - "revision": "5aa8c836b577b3312e5bee6ff15c61cd7d649804", - "version": "0.0.1" + "revision": "912c12f0eb33577124e7bf16e51830ae0af49962", + "version": "0.10.0" } }, { @@ -60,8 +60,8 @@ "repositoryURL": "https://github.com/nicklockwood/SwiftFormat.git", "state": { "branch": null, - "revision": "5a136fc7db30aa3b27aa5298bbc83926752f580a", - "version": "0.38.0" + "revision": "8b3e855384f15847915fa3a02019185ee7515107", + "version": "0.40.8" } }, { @@ -87,8 +87,8 @@ "repositoryURL": "https://github.com/jpsim/Yams", "state": { "branch": null, - "revision": "26ab35f50ea891e8edefcc9d975db2f6b67e1d68", - "version": "1.0.1" + "revision": "b08dba4bcea978bf1ad37703a384097d3efce5af", + "version": "1.0.2" } } ] diff --git a/Package.swift b/Package.swift index c765b87..f9534ed 100644 --- a/Package.swift +++ b/Package.swift @@ -49,5 +49,5 @@ let package = Package( "git add .", ], ], - ]) + ]).write() #endif diff --git a/Sources/Rocket/main.swift b/Sources/Rocket/main.swift index daf18c0..443ee4b 100644 --- a/Sources/Rocket/main.swift +++ b/Sources/Rocket/main.swift @@ -31,8 +31,8 @@ if let rocketYamlPath = RocketFileFinder.rocketFilePath() { } stepsDictionary = loadedDictionary -} else if let rocketConfig = getPackageConfig()["rocket"] as? [String: Any] { - stepsDictionary = rocketConfig +} else if let rocketConfig = try? PackageConfiguration.load() { + stepsDictionary = rocketConfig.configuration } else { stepsDictionary = [:] }