aerospace fork
Something went wrong. Try again.
12345678910111213141516171819202122232425262728#!/usr/bin/env bashcd "$(dirname "$0")"source ./script/setup.sh
./format.sh
if grep -E '( Task\.init| Task\s*\{| Task\()' -r ./Sources; then echo "ERROR: don't use Task.init directly. Use Task.startUnstructured instead." exit 1fi
./script/install-dep.sh --swiftlint./.deps/swiftlint/swiftlint lint --quiet
if sw_vers -productVersion | grep -q "^14"; then # macOS 14 # dyld[6263]: Library not loaded: /usr/lib/swift/libswiftSynchronization.dylib # Referenced from: <0A48220F-3DCA-3C6C-A54C-FE6C3B854E23> /Users/runner/work/AeroSpace/AeroSpace/.deps/periphery/dist/periphery-3.6.0.artifactbundle/periphery-3.6.0-macos/bin/periphery (built for macOS 15.0 which is newer than running OS) # Reason: tried: '/usr/lib/swift/libswiftSynchronization.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libswiftSynchronization.dylib' (no such file), '/usr/lib/swift/libswiftSynchronization.dylib' (no such file, not in dyld cache) echo 'warning: periphery is disabled on macos 14'else ./script/install-dep.sh --periphery # Disable superfluous comments detection because it's buggy. todo: report to periphery maintainer ./.deps/periphery/periphery scan --quiet \ --strict \ --disable-redundant-public-analysis \ --no-superfluous-ignore-commentsfi