New mobile/ directory with Capacitor project: - Configurable server URL launcher (default: app.pedshub.com) - Android: foreground service + wake lock for background recording (AudioRecordingService preserved from existing TWA) - iOS: background audio mode + microphone permission - App ID: com.pedshub.scribe - Both platforms initialized and synced Existing android/ TWA project untouched — this is a separate project. Build: cd mobile && npx cap open android (or ios)
21 lines
531 B
Makefile
Executable file
21 lines
531 B
Makefile
Executable file
TESTS := \
|
|
tests/test-simple.js
|
|
|
|
|
|
|
|
PATH := ./node_modules/.bin:$(PATH)
|
|
|
|
WHISKEY := $(shell bash -c 'PATH=$(PATH) type -p whiskey')
|
|
|
|
default: test
|
|
|
|
test:
|
|
NODE_PATH=`pwd`/lib/ ${WHISKEY} --scope-leaks --sequential --real-time --tests "${TESTS}"
|
|
|
|
tap:
|
|
NODE_PATH=`pwd`/lib/ ${WHISKEY} --test-reporter tap --sequential --real-time --tests "${TESTS}"
|
|
|
|
coverage:
|
|
NODE_PATH=`pwd`/lib/ ${WHISKEY} --sequential --coverage --coverage-reporter html --coverage-dir coverage_html --tests "${TESTS}"
|
|
|
|
.PHONY: default test coverage tap scope
|