This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
printf "# Step 1 : Installing Xcode Command Line Tools" | |
xcode-select --install | |
echo "# Step 2 : Installing/Updating Homebrew" | |
# Check for Homebrew and install if not found | |
if test ! $(which brew); then | |
echo "Installing Homebrew..." | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Initialize empty JSON object | |
json_object="{}" | |
# Loop through pipeline variables starting with VITE_ | |
for var_name in "${!VITE@}"; do | |
# Check if variable starts with VITE_ (avoids unrelated variables) | |
if [[ $var_name =~ ^VITE_ ]]; then | |
# Extract variable value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if the correct number of arguments are provided | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: $0 <alias_name> <alias_command>" | |
exit 1 | |
fi | |
# Get the alias name and command from the arguments | |
ALIAS_NAME="$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check for Homebrew and install if not found | |
if test ! $(which brew); then | |
echo "Installing Homebrew..." | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
else | |
echo "Updating Homebrew..." | |
brew update && brew upgrade | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sass-convert -R ./ -F sass -T scss && find . -type f -name '*.sass' -delete |