darkwire.io/build.sh
2024-09-19 01:54:49 -05:00

19 lines
242 B
Bash
Executable File

#!/bin/sh
api_host=$API_HOST
if [[ "$HEROKU_APP_NAME" =~ "-pr-" ]]
then
api_host=""
fi
echo "building client..."
cd client
yarn --production=false
yarn build
cd ../
echo "building server..."
cd server
yarn --production=false
yarn build