mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 02:44:01 +00:00
19 lines
244 B
Bash
Executable File
19 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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 |