simplelanguage
simplelanguage copied to clipboard
Improve make_component.sh
This PR improves make_component.sh in the following ways:
- "Exit immediately if a command exits with a non-zero status." (
set -e) - Fix incorrect
rm -rf COMPONENT_DIRand add user prompt before deleting directory - Suggest to run
mvn packagewhensimplelanguage.jaris not found - Use
pushd/popdin favor ofcd - Mark variables as
readonly - Minor consistency fixes
Could you please rebase? I merged a PR that made some changes to the script in question and re-enabled the part of the gate that checks the components.
Done! PTAL