2.x.x Template struct (#22)

* Start of turning template into a struct

* Everything is Sendable now, just doesnt work

* Add library to context

* Make sure render is initialized with library

* comment about inheritance spec

* Add register back in

* Re-instate register functions

* Re-instate commented out print

* Fix tabbing in Partial tests

* Make HBMustacheLibrary.loadTemplates async

* Update platforms, swift version
This commit is contained in:
Adam Fowler
2024-01-31 15:43:46 +00:00
committed by GitHub
parent bec77d1f2b
commit 071b182a00
11 changed files with 67 additions and 65 deletions

View File

@@ -1,10 +1,11 @@
// swift-tools-version:5.3
// swift-tools-version:5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "hummingbird-mustache",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)],
products: [
.library(name: "HummingbirdMustache", targets: ["HummingbirdMustache"]),
],