PDS software with bells & whistles you didn’t even know you needed. will move this to its own account when ready.
at main 3.2 kB view raw
1default: 2 @just --list 3 4run: 5 cargo run 6run-release: 7 cargo run --release 8build: 9 cargo build 10build-release: 11 cargo build --release 12check: 13 cargo check 14clippy: 15 cargo clippy -- -D warnings 16fmt: 17 cargo fmt 18fmt-check: 19 cargo fmt -- --check 20lint: fmt-check clippy 21 22test-all *args: 23 ./scripts/run-tests.sh {{args}} 24 25test-auth: 26 ./scripts/run-tests.sh --test oauth --test oauth_lifecycle --test oauth_scopes --test oauth_security --test oauth_client_metadata --test jwt_security --test session_management --test change_password --test password_reset 27 28test-admin: 29 ./scripts/run-tests.sh --test admin_email --test admin_invite --test admin_moderation --test admin_search --test admin_stats 30 31test-sync: 32 ./scripts/run-tests.sh --test sync_repo --test sync_blob --test sync_conformance --test sync_deprecated --test firehose_validation 33 34test-repo: 35 ./scripts/run-tests.sh --test repo_batch --test repo_blob --test record_validation --test lifecycle_record 36 37test-identity: 38 ./scripts/run-tests.sh --test identity --test did_web --test plc_migration --test plc_operations --test plc_validation 39 40test-account: 41 ./scripts/run-tests.sh --test lifecycle_session --test delete_account --test invite --test email_update --test account_notifications 42 43test-security: 44 ./scripts/run-tests.sh --test security_fixes --test banned_words --test rate_limit --test moderation 45 46test-import: 47 ./scripts/run-tests.sh --test import_verification --test import_with_verification 48 49test-misc: 50 ./scripts/run-tests.sh --test actor --test commit_signing --test image_processing --test lifecycle_social --test notifications --test server --test signing_key --test verify_live_commit 51 52test *args: 53 ./scripts/run-tests.sh {{args}} 54 55test-one name: 56 ./scripts/run-tests.sh --test {{name}} 57 58infra-start: 59 ./scripts/test-infra.sh start 60infra-stop: 61 ./scripts/test-infra.sh stop 62infra-status: 63 ./scripts/test-infra.sh status 64 65clean: 66 cargo clean 67doc: 68 cargo doc --open 69db-create: 70 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database create 71db-migrate: 72 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx migrate run 73db-reset: 74 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database drop -y 75 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database create 76 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx migrate run 77podman-up: 78 podman compose up -d 79podman-down: 80 podman compose down 81podman-logs: 82 podman compose logs -f 83podman-build: 84 podman compose build 85 86frontend-dev: 87 . ~/.deno/env && cd frontend && deno task dev 88frontend-build: 89 . ~/.deno/env && cd frontend && deno task build 90frontend-clean: 91 rm -rf frontend/dist frontend/node_modules 92 93frontend-test *args: 94 . ~/.deno/env && cd frontend && VITEST=true deno task test:run {{args}} 95frontend-test-watch: 96 . ~/.deno/env && cd frontend && VITEST=true deno task test:watch 97frontend-test-ui: 98 . ~/.deno/env && cd frontend && VITEST=true deno task test:ui 99frontend-test-coverage: 100 . ~/.deno/env && cd frontend && VITEST=true deno task test:run --coverage 101 102build-all: frontend-build build