Skip to content
Merged
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
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,12 @@ uninstall:
test:
@for module in $(TESTABLES); do \
echo "Running tests for $$module"; \
poetry run make -C $$module test || { echo "Error in $$module tests"; exit 2; }; \
done
if [ -f "$$module/pyproject.toml" ]; then \
(cd $$module && poetry run make test) || { echo "Error in $$module tests"; exit 2; }; \
else \
make -C $$module test || { echo "Error in $$module tests"; exit 2; }; \
fi; \
done

test-integration:
# TODO: Move "integration tests" to aw-client
Expand Down
5 changes: 4 additions & 1 deletion scripts/package/build_app_tauri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ echo "APPL????" > "dist/${APP_NAME}.app/Contents/PkgInfo"

if [ -n "$APPLE_PERSONALID" ]; then
echo "Signing app with identity: $APPLE_PERSONALID"
codesign --deep --force --sign "$APPLE_PERSONALID" "dist/${APP_NAME}.app"
# Hardened runtime is required for notarization prechecks on macOS.
# The Tauri bundle still embeds PyInstaller-built helpers from dist/activitywatch/,
# so keep the existing entitlements that those binaries need under hardened runtime.
codesign --deep --force --options runtime --entitlements scripts/package/entitlements.plist --sign "$APPLE_PERSONALID" "dist/${APP_NAME}.app"
echo "App signing complete."
else
echo "APPLE_PERSONALID not set. Skipping code signing."
Expand Down
Loading