mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
21 lines
383 B
Bash
Executable File
21 lines
383 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd ..
|
|
|
|
# Try to get the version of pnpm
|
|
pnpm --version > /dev/null 2>&1
|
|
|
|
# Check the exit status of the previous command
|
|
if [ $? -eq 0 ]; then
|
|
# Running npm run dev in both directories
|
|
cd ./interface
|
|
pnpm run dev &
|
|
cd ..
|
|
pnpm run dev
|
|
else
|
|
# Running npm run dev in both directories
|
|
cd ./interface
|
|
npm run dev &
|
|
cd ..
|
|
npm run dev
|
|
fi |