Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update SwiftSyntaxParser v0.505 #398

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ on:
branches: [ master ]

env:
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app
DEVELOPER_DIR: /Applications/Xcode_13.0.app

jobs:
build:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: "NeedleFoundationTests"
run: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundation -destination 'platform=iOS Simulator,OS=14.5,name=iPhone 11'
run: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundation -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13'
- name: "NeedleGeneratorTests"
run: cd Generator && swift test -Xswiftc -DDEBUG
- name: "NeedleGeneratorBinary"
run: cd Generator && swift build -c release
- name: "NeedleSampleMVCApp"
run: xcodebuild build -project Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=14.5,name=iPhone 11'
run: xcodebuild build -project Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13'
- name: "NeedleSampleMVCTests"
run: xcodebuild test -project Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeTests -destination 'platform=iOS Simulator,OS=14.5,name=iPhone 11'
run: xcodebuild test -project Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeTests -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13'
- name: "NeedleSamplePluginizedApp"
run: xcodebuild build -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=14.5,name=iPhone 11'
run: xcodebuild build -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13'
- name: "NeedleSamplePluginizedScoreSheetTests"
run: xcodebuild test -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme ScoreSheetTests -destination 'platform=iOS Simulator,OS=14.5,name=iPhone 11'
run: xcodebuild test -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme ScoreSheetTests -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13'
- name: "NeedleSamplePluginizedTicTacToeCoreTests"
run: xcodebuild test -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeCoreTests -destination 'platform=iOS Simulator,OS=14.5,name=iPhone 11'
run: xcodebuild test -project Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeCoreTests -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13'
10 changes: 9 additions & 1 deletion Generator/Package.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// swift-tools-version:5.1
import PackageDescription

// Define the SwiftSyntax release to use based on the version of Swift in use
#if swift(>=5.5) && swift(<5.6)
// Xcode 13.0 / Swift 5.5
let swiftSyntaxVersion: Version = "0.50500.0"
#else
let swiftSyntaxVersion: Version = "0.50400.0"
#endif

let package = Package(
name: "Needle",
products: [
Expand All @@ -11,7 +19,7 @@ let package = Package(
.package(url: "https://github.com/apple/swift-tools-support-core", .upToNextMajor(from: "0.1.5")),
.package(url: "https://github.com/uber/swift-concurrency.git", .upToNextMajor(from: "0.6.5")),
.package(url: "https://github.com/uber/swift-common.git", .exact("0.5.0")),
.package(url: "https://github.com/apple/swift-syntax.git", .exact("0.50400.0")),
.package(url: "https://github.com/apple/swift-syntax.git", .exact(swiftSyntaxVersion)),
],
targets: [
.target(
Expand Down
Binary file modified Generator/bin/lib_InternalSwiftSyntaxParser.dylib
Binary file not shown.
Binary file modified Generator/bin/needle
Binary file not shown.