mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 19:54:39 +00:00
24 lines
426 B
Bash
Executable File
24 lines
426 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Running install script
|
|
./install.sh
|
|
|
|
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 build
|
|
cd ..
|
|
pnpm run build
|
|
else
|
|
# Running npm run dev in both directories
|
|
cd ./interface
|
|
npm run build
|
|
cd ..
|
|
npm run build
|
|
fi |