Enhance Setup Scripts for Development Environments #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enhance Setup Scripts for Development Environments
Overview
This pull request introduces several enhancements and bug fixes to the setup scripts for configuring development environments on macOS. The changes ensure a smoother user experience and improve the flexibility of tool selection during setup.
Key Changes
1. Added
start_setup
Functionalitystart_setup
function insetup-my-mac.sh
to dynamically load and execute specific setup scripts based on user selection.2. Improved Tool Selection Logic
frontend-setup.sh
,backend-setup.sh
,custom-setup.sh
, anddata-analysis-setup.sh
to correctly toggle tool selections.3. Removed Unsupported Bash Features
-n
nameref option inutils/helper.sh
to ensure compatibility with older Bash versions.4. Enhanced User Feedback
5. Code Refactoring
Testing
Impact
These changes enhance the usability and reliability of the setup scripts, making it easier for developers to configure their macOS environments with the necessary tools for frontend, backend, and data analysis development.