Add utils folder
This commit is contained in:
parent
ef9ec69204
commit
792097060b
3 changed files with 7 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ mkdir -p logs
|
|||
cd frontend
|
||||
npm run build
|
||||
|
||||
../scripts/wait-for-server.sh
|
||||
../scripts/utils/wait-for-server.sh
|
||||
|
||||
pids=()
|
||||
for i in $(seq 1 $process_count); do
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
./scripts/utils/wait-for-server.sh
|
||||
|
||||
npm install -g openapi-typescript
|
||||
openapi-typescript http://localhost:3000/api.json --output frontend/sync-client/src/services/types.ts
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
SERVER_URL="http://localhost:3000"
|
||||
MAX_RETRIES=30
|
||||
RETRY_INTERVAL_IN_SECONDS=5
|
||||
Loading…
Add table
Add a link
Reference in a new issue