Update Package config

This commit is contained in:
Franco Meloni 2019-04-18 22:35:28 +01:00
parent 650d261072
commit 033401bfe6
3 changed files with 13 additions and 13 deletions

View File

@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/orta/Komondor.git", "repositoryURL": "https://github.com/orta/Komondor.git",
"state": { "state": {
"branch": null, "branch": null,
"revision": "e48fb2186f642885254277038508f5f2c7d96eb3", "revision": "265fd04de2316edc72d9065d2ef5118b20a71187",
"version": "1.0.1" "version": "1.0.2"
} }
}, },
{ {
@ -24,8 +24,8 @@
"repositoryURL": "https://github.com/Quick/Nimble", "repositoryURL": "https://github.com/Quick/Nimble",
"state": { "state": {
"branch": null, "branch": null,
"revision": "9a281b1cfa1c53d1e8bd92e1798e4e473af8d263", "revision": "e9d769113660769a4d9dd3afb855562c0b7ae7b0",
"version": "7.3.3" "version": "7.3.4"
} }
}, },
{ {
@ -33,8 +33,8 @@
"repositoryURL": "https://github.com/orta/PackageConfig.git", "repositoryURL": "https://github.com/orta/PackageConfig.git",
"state": { "state": {
"branch": null, "branch": null,
"revision": "5aa8c836b577b3312e5bee6ff15c61cd7d649804", "revision": "912c12f0eb33577124e7bf16e51830ae0af49962",
"version": "0.0.1" "version": "0.10.0"
} }
}, },
{ {
@ -60,8 +60,8 @@
"repositoryURL": "https://github.com/nicklockwood/SwiftFormat.git", "repositoryURL": "https://github.com/nicklockwood/SwiftFormat.git",
"state": { "state": {
"branch": null, "branch": null,
"revision": "5a136fc7db30aa3b27aa5298bbc83926752f580a", "revision": "8b3e855384f15847915fa3a02019185ee7515107",
"version": "0.38.0" "version": "0.40.8"
} }
}, },
{ {
@ -87,8 +87,8 @@
"repositoryURL": "https://github.com/jpsim/Yams", "repositoryURL": "https://github.com/jpsim/Yams",
"state": { "state": {
"branch": null, "branch": null,
"revision": "26ab35f50ea891e8edefcc9d975db2f6b67e1d68", "revision": "b08dba4bcea978bf1ad37703a384097d3efce5af",
"version": "1.0.1" "version": "1.0.2"
} }
} }
] ]

View File

@ -49,5 +49,5 @@ let package = Package(
"git add .", "git add .",
], ],
], ],
]) ]).write()
#endif #endif

View File

@ -31,8 +31,8 @@ if let rocketYamlPath = RocketFileFinder.rocketFilePath() {
} }
stepsDictionary = loadedDictionary stepsDictionary = loadedDictionary
} else if let rocketConfig = getPackageConfig()["rocket"] as? [String: Any] { } else if let rocketConfig = try? PackageConfiguration.load() {
stepsDictionary = rocketConfig stepsDictionary = rocketConfig.configuration
} else { } else {
stepsDictionary = [:] stepsDictionary = [:]
} }