Skip to content

Conversation

fniephaus
Copy link
Member

@fniephaus fniephaus commented Apr 1, 2019

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_DIR and add user prompt before deleting directory
  • Suggest to run mvn package when simplelanguage.jar is not found
  • Use pushd/popd in favor of cd
  • Mark variables as readonly
  • Minor consistency fixes

@boris-spas
Copy link
Member

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.

- "Exit immediately if a command exits with a non-zero status." (set -e)
- Fix incorrect `rm -rf COMPONENT_DIR` and add user prompt before deleting directory
- Suggest to run `mvn package` when simplelanguage.jar is not found
- Use pushd/popd in favor of `cd $COMPONENT_DIR || exit 1`
- Mark variables as `readonly`
- Minor consistency fixes
@fniephaus
Copy link
Member Author

Done! PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants