mirror of
https://github.com/swift-server/swift-service-lifecycle
synced 2026-11-30 05:28:48 +00:00
Fix soundness script (#126)
This commit is contained in:
1 parent
3dbb8b3a37
commit
97df12eda3
2 files changed
+2
-3
No files matched your search
@@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
##===----------------------------------------------------------------------===##
|
||||
##
|
||||
## This source file is part of the SwiftServiceLifecycle open source project
|
||||
@@ -28,4 +27,4 @@
|
||||
##
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
xcrun swift package --disable-sandbox preview-documentation --target $1
|
||||
swift package --disable-sandbox preview-documentation --target $1
|
||||
@@ -73,7 +73,7 @@ for language in swift-or-c bash dtrace; do
|
||||
matching_files=( -name '*' )
|
||||
case "$language" in
|
||||
swift-or-c)
|
||||
exceptions=( -name Package.swift -o -name Package@*.swift )
|
||||
exceptions=( -name Package.swift -o -name 'Package@*.swift' )
|
||||
matching_files=( -name '*.swift' -o -name '*.c' -o -name '*.h' )
|
||||
cat > "$tmp" <<"EOF"
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in new issue
Block a user