forked from SwiftGen/StencilSwiftKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
38 lines (35 loc) · 993 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "StencilSwiftKit",
products: [
.library(name: "StencilSwiftKit", targets: ["StencilSwiftKit"])
],
dependencies: [
.package(url: "https://github.com/shibapm/Komondor.git", .exact("1.1.3")),
.package(url: "https://github.com/stencilproject/Stencil.git", .upToNextMajor(from: "0.15.0"))
],
targets: [
.target(name: "StencilSwiftKit", dependencies: [
"Stencil"
]),
.testTarget(name: "StencilSwiftKitTests", dependencies: [
"StencilSwiftKit"
])
],
swiftLanguageVersions: [.v5]
)
#if canImport(PackageConfig)
import PackageConfig
let config = PackageConfiguration([
"komondor": [
"pre-commit": [
"PATH=\"~/.rbenv/shims:$PATH\" bundler exec rake lint:code",
"PATH=\"~/.rbenv/shims:$PATH\" bundler exec rake lint:tests"
],
"pre-push": [
"PATH=\"~/.rbenv/shims:$PATH\" bundle exec rake spm:test"
]
],
]).write()
#endif