.
This commit is contained in:
parent
9f09b07de9
commit
99608b55cd
5 changed files with 17 additions and 17 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -rf backend/databases
|
||||
rm -rf frontend/test-client/logs
|
||||
rm -rf logs
|
||||
|
|
|
|||
|
|
@ -12,14 +12,14 @@ fi
|
|||
# Get the number of processes from the first argument
|
||||
process_count=$1
|
||||
|
||||
mkdir -p logs
|
||||
|
||||
cd frontend
|
||||
npm run build
|
||||
|
||||
mkdir -p logs
|
||||
|
||||
pids=()
|
||||
for i in $(seq 1 $process_count); do
|
||||
node test-client/dist/cli.js > "logs/log_${i}.log" 2>&1 &
|
||||
node test-client/dist/cli.js > "../logs/log_${i}.log" 2>&1 &
|
||||
pids+=($!)
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue