Skip to content

Commit

Permalink
Fix generate-package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Oct 28, 2024
1 parent c9afb02 commit 3abc5f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/generate-package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//===----------------------------------------------------------------------===//

import Files // JohnSundell/Files
import HummingbirdMustache // hummingbird-project/swift-mustache
import Mustache // hummingbird-project/swift-mustache

struct GeneratePackage {
struct Target {
Expand All @@ -25,8 +25,8 @@ struct GeneratePackage {

init() {}

func run() throws {
let library = try HBMustacheLibrary(directory: "./scripts/templates/generate-package")
func run() async throws {
let library = try await MustacheLibrary(directory: "./scripts/templates/generate-package")
let servicesFolder = try Folder(path: "./Sources/Soto/Services")
let extensionsFolder = try Folder(path: "./Sources/Soto/Extensions")
let testFolder = try Folder(path: "./Tests/SotoTests/Services")
Expand Down Expand Up @@ -69,4 +69,4 @@ struct GeneratePackage {
}
}

try GeneratePackage().run()
try await GeneratePackage().run()

0 comments on commit 3abc5f7

Please sign in to comment.