You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-06 05:42:30 +03:00
This is done by loading the browser session earlier Also removes the GraphQL subscription logic
16 lines
321 B
Bash
16 lines
321 B
Bash
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
export SQLX_OFFLINE=1
|
|
BASE_DIR="$(dirname "$0")/.."
|
|
CONFIG_SCHEMA="${BASE_DIR}/docs/config.schema.json"
|
|
GRAPHQL_SCHEMA="${BASE_DIR}/frontend/schema.graphql"
|
|
|
|
set -x
|
|
cargo run -p mas-config > "${CONFIG_SCHEMA}"
|
|
cargo run -p mas-graphql > "${GRAPHQL_SCHEMA}"
|
|
|
|
cd "${BASE_DIR}/frontend"
|
|
npm run generate
|