feat(m0): complete scaffold, logging and signature checks (T0.2-T0.6)
Add os.Logger categories, OSSignposter wrapper and shortHash helper; enforce exact Debug/Release/install signatures; lint tests; update M0 docs and progress.
This commit is contained in:
1 parent
374085ec2f
commit
7ca5c710ec
17 files changed
+331
-9
No files matched your search
+11
-1
@@ -10,7 +10,7 @@ step "Format check"
|
||||
if command -v swiftformat >/dev/null; then swiftformat App "$PKG" --lint; else echo "skip: swiftformat not installed"; fi
|
||||
|
||||
step "Lint"
|
||||
if command -v swiftlint >/dev/null; then swiftlint lint --strict --quiet App "$PKG/Sources"; else echo "skip: swiftlint not installed"; fi
|
||||
if command -v swiftlint >/dev/null; then swiftlint lint --strict --quiet App "$PKG/Sources" "$PKG/Tests"; else echo "skip: swiftlint not installed"; fi
|
||||
|
||||
step "Shell syntax"
|
||||
for f in scripts/*.sh; do bash -n "$f"; done
|
||||
@@ -37,6 +37,16 @@ if command -v xcodegen >/dev/null && command -v xcodebuild >/dev/null; then
|
||||
xcodegen generate --spec project.yml --quiet
|
||||
xcodebuild -project Sprachmittler.xcodeproj -scheme Sprachmittler -configuration Debug \
|
||||
-derivedDataPath .build/xcode -destination 'platform=macOS,arch=arm64' -quiet build
|
||||
scripts/check-signature.sh .build/xcode/Build/Products/Debug/Sprachmittler.app debug
|
||||
else
|
||||
echo "skip: xcodegen/xcodebuild not available (make bootstrap)"
|
||||
fi
|
||||
|
||||
step "Release build and signature"
|
||||
if command -v xcodegen >/dev/null && command -v xcodebuild >/dev/null; then
|
||||
xcodebuild -project Sprachmittler.xcodeproj -scheme Sprachmittler -configuration Release \
|
||||
-derivedDataPath .build/xcode-release -destination 'platform=macOS,arch=arm64' -quiet build
|
||||
scripts/check-signature.sh .build/xcode-release/Build/Products/Release/Sprachmittler.app release
|
||||
else
|
||||
echo "skip: xcodegen/xcodebuild not available (make bootstrap)"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user