Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit 0e29a91

Browse files
committed
dynamic liquid product
1 parent d57db67 commit 0e29a91

File tree

6 files changed

+155
-14
lines changed

6 files changed

+155
-14
lines changed

Package.resolved

Lines changed: 142 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ let package = Package(
88
],
99
products: [
1010
.library(name: "Liquid", targets: ["Liquid"]),
11+
.library(name: "LiquidDynamic", type: .dynamic, targets: ["Liquid"]),
1112
],
1213
dependencies: [
13-
.package(url: "https://github.com/vapor/vapor.git", from: "4.4.0"),
14+
.package(url: "https://github.com/vapor/vapor.git", from: "4.5.0"),
1415
.package(url: "https://github.com/binarybirds/liquid-kit.git", from: "1.0.0"),
1516
],
1617
targets: [

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ let package = Package(
1818
],
1919
dependencies: [
2020
// 💧 A server-side Swift web framework.
21-
.package(url: "https://github.com/vapor/vapor.git", from: "4.4.0"),
22-
.package(url: "https://github.com/binarybirds/liquid.git", from: "0.0.1"),
23-
.package(url: "https://github.com/binarybirds/liquid-local-driver.git", from: "0.0.1"),
24-
.package(url: "https://github.com/binarybirds/liquid-aws-s3-driver.git", from: "0.0.1"),
21+
.package(url: "https://github.com/vapor/vapor.git", from: "4.5.0"),
22+
.package(url: "https://github.com/binarybirds/liquid.git", from: "1.0.0"),
23+
.package(url: "https://github.com/binarybirds/liquid-local-driver.git", from: "1.0.0"),
24+
.package(url: "https://github.com/binarybirds/liquid-aws-s3-driver.git", from: "1.0.0"),
2525
],
2626
targets: [
2727
.target(name: "App", dependencies: [

Sources/Liquid/Application+Liquid.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
//
2-
// File.swift
3-
//
2+
// Application+Liquid.swift
3+
// Liquid
44
//
55
// Created by Tibor Bodecs on 2020. 04. 28..
66
//
77

8-
import Vapor
9-
import LiquidKit
10-
import NIO
11-
128
extension Application {
139

1410
public struct Liquid {

Sources/Liquid/Exports.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
//
2-
// File.swift
3-
//
2+
// Exports.swift
3+
// Liquid
44
//
55
// Created by Tibor Bodecs on 2020. 04. 28..
66
//
77

88
@_exported import LiquidKit
9+
@_exported import Vapor
10+
@_exported import NIO

Tests/LiquidTests/LiquidTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ final class LiquidTests: XCTestCase {
88
]
99

1010
func testExample() {
11-
XCTAssertEqualTrue(true)
11+
XCTAssertTrue(true)
1212
}
1313
}

0 commit comments

Comments
 (0)