Added some more features to the polybuild.sh script for ease of development and usage:
Organized code blocks into functions to maintain the code better
Added a usage function which describes how to use the polybuild script - triggered when user inputs sh token/polybuild.sh with no command line arguments
Added a both command line argument to polybuild the 1A and 1B files - this allows you to avoid sh token/polybuild.sh 1A && sh token/polybuild.sh 1B
Added a small colored status message to describe which folder is being build, i.e. "Building 1A files"
Added some more features to the
polybuild.sh
script for ease of development and usage:sh token/polybuild.sh
with no command line argumentsboth
command line argument to polybuild the1A
and1B
files - this allows you to avoidsh token/polybuild.sh 1A && sh token/polybuild.sh 1B