Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve make_component.sh #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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