Skip to content

Commit

Permalink
Merge branch 'deployment-target-macos-14' into deployment-target-maco…
Browse files Browse the repository at this point in the history
…s-15
  • Loading branch information
F1248 committed Jan 8, 2025
2 parents d5165be + 2c2085f commit 472fdda
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/Build-Genius.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@ on:
push:
paths:
- .github/workflows/Build-Genius.yml
- .periphery.yml
- .swift-version
- .swiftformat
- .swiftlint.yml
- Genius/**
- Genius.xcodeproj/**
- GeniusTests/**
pull_request:
paths:
- .github/workflows/Build-Genius.yml
- .periphery.yml
- .swift-version
- .swiftformat
- .swiftlint.yml
- Genius/**
- Genius.xcodeproj/**
- GeniusTests/**
workflow_dispatch:

concurrency:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,35 @@ extension OptionalOpearatorsTests {
@Test("Optional conjunction tests")
func optionalConjunctionTests() {
#expect((true &&? true) == true)
#expect((false &&? false) == false)
#expect((false &&? true) == false)
#expect((true &&? false) == false)
#expect((false &&? nil) == false)
#expect((nil &&? false) == false)
#expect((true &&? nil) == nil)
#expect((false &&? true) == false)
#expect((false &&? false) == false)
#expect((false &&? nil) == false)
#expect((nil &&? true) == nil)
#expect((nil &&? false) == false)
#expect((nil &&? nil) == nil)
_ = false &&? {
#expect(Bool(false))
return nil
}()
}

@Test("Optional disjunction tests")
func optionalDisjunctionTests() {
#expect((false ||? false) == false)
#expect((true ||? true) == true)
#expect((true ||? false) == true)
#expect((false ||? true) == true)
#expect((true ||? nil) == true)
#expect((nil ||? true) == true)
#expect((false ||? true) == true)
#expect((false ||? false) == false)
#expect((false ||? nil) == nil)
#expect((nil ||? true) == true)
#expect((nil ||? false) == nil)
#expect((nil ||? nil) == nil)
_ = true ||? {
#expect(Bool(false))
return nil
}()
}
}
}
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ curl --silent --remote-name --location https://nightly.link/F1248/Genius/workflo

echo "Installing..."
unzip -q -o Genius.zip
unzip -q -o Genius.zip
rm -r -f Genius.app
unzip -q Genius.zip
if [ ! -e /System/Library/CoreServices/Finder.app ]; then
echo "
export PATH=\"${PWD}/Genius.app/Contents/MacOS:\$PATH\"" >> ~/.bash_profile
Expand Down

0 comments on commit 472fdda

Please sign in to comment.