swingmusic/dev_build.sh
2024-01-30 15:49:06 +01:00

16 lines
416 B
Bash

#!/bin/bash
# REVIEW Above: bash is way more compatible than other shells
# builds the latest version of the client and server
cd ../swingmusic-client || exit # REVIEW Failsafe exit
yarn build --outDir ../swingmusic/client
cd ../swingmusic || exit # REVIEW Failsafe exit
# REVIEW Optional cleaning up
# rm -rf build dist
# REVIEW Install poetry & requirements
# Build the app
poetry run python manage.py --build