Skip to content

Commit 6a88485

Browse files
committed
Fix compile error on Linux and avoid slow test comile
1 parent f606349 commit 6a88485

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Sources/CallableKitMacros/CallableMacro.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Foundation
12
import SwiftSyntax
23
import SwiftSyntaxMacros
34

example/test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
set -o pipefail
33

44
swift package --allow-writing-to-package-directory codegen
5-
swift build -c release
5+
swift build
66

77
APP=${1:-}
88
case ${APP} in
99
"vapor")
10-
.build/release/VaporServer &
10+
.build/debug/VaporServer &
1111
;;
1212
"hummingbird")
13-
.build/release/HBServer &
13+
.build/debug/HBServer &
1414
;;
1515
*)
1616
echo "$0 <vapor|hummingbird>"
@@ -27,6 +27,6 @@ until curl -s -o /dev/null http://localhost:8080/; do
2727
sleep 0.1
2828
done
2929

30-
.build/release/Client
30+
.build/debug/Client
3131
cd TSClient
3232
npm install && npm run run

0 commit comments

Comments
 (0)