a love letter to tangled (android, iOS, and a search API)
at main 56 lines 1.2 kB view raw
1set shell := ["/bin/zsh", "-cu"] 2 3default: 4 @just --list 5 6dev: 7 pnpm --dir apps/twisted dev 8 9build: 10 pnpm --dir apps/twisted build 11 just --justfile packages/api/justfile build 12 13lint: 14 pnpm --dir apps/twisted lint 15 16check: 17 pnpm --dir apps/twisted check 18 19test: 20 pnpm --dir apps/twisted test:unit 21 just --justfile packages/api/justfile test 22 23app-build: 24 pnpm --dir apps/twisted build 25 26app-preview: 27 pnpm --dir apps/twisted preview 28 29app-test-unit: 30 pnpm --dir apps/twisted test:unit 31 32app-test-e2e: 33 pnpm --dir apps/twisted test:e2e 34 35app-cap-ios: 36 pnpm --dir apps/twisted exec cap run ios 37 38app-cap-android: 39 pnpm --dir apps/twisted exec cap run android 40 41api-build: 42 just --justfile packages/api/justfile build 43 44# Run API. Usage: just api-dev [mode], mode: local|remote (default local) 45api-dev mode="local": 46 just --justfile packages/api/justfile run-api {{mode}} 47 48# Run indexer. Usage: just api-run-indexer [mode], mode: local|remote (default local) 49api-run-indexer mode="local": 50 just --justfile packages/api/justfile run-indexer {{mode}} 51 52api-test: 53 just --justfile packages/api/justfile test 54 55api-clean: 56 just --justfile packages/api/justfile clean