mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-04 10:20:18 +00:00
Organization and usefulness for the final user
This commit is contained in:
parent
9bf005668b
commit
27a277cc5b
18
build.sh
18
build.sh
@ -1,9 +1,19 @@
|
||||
#!/bin/zsh
|
||||
#!/bin/bash
|
||||
# REVIEW Above: bash is way more compatible than other shells
|
||||
|
||||
# builds the latest version of the client and server
|
||||
|
||||
cd ../swingmusic-client
|
||||
yarn build --outDir ../swingmusic/client
|
||||
# REVIEW These are not useful if you dont have the source code
|
||||
#cd ../swingmusic-client
|
||||
#yarn build --outDir ../swingmusic/client
|
||||
#../swingmusic
|
||||
|
||||
cd ../swingmusic
|
||||
# REVIEW Cleaning up
|
||||
rm -rf build dist
|
||||
|
||||
# REVIEW Install poetry & requirements
|
||||
pip install poetry
|
||||
poetry install --no-root
|
||||
|
||||
# Build the app
|
||||
poetry run python manage.py --build
|
16
dev_build.sh
Normal file
16
dev_build.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user