Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-repository/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:

# Initialize the acore submodule
if git submodule update --init --recursive src/lib/corePackages/acore; then
echo "✅ Acore submodule initialized successfully"
echo "✅ ACore Flutter submodule initialized successfully"
else
echo "❌ Failed to initialize acore submodule"
echo "🔍 Debugging submodule status:"
Expand Down
46 changes: 46 additions & 0 deletions scripts/_common.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/bin/bash

# Common output functions for Project One-Hour scripts
# This file contains shared output functions used across multiple scripts

# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color

# Print colored output
print_info() {
echo -e "${BLUE}[INFO]${NC} $1"
}

print_success() {
echo -e "${GREEN}[SUCCESS]${NC} $1"
}

print_warning() {
echo -e "${YELLOW}[WARNING]${NC} $1"
}

print_error() {
echo -e "${RED}[ERROR]${NC} $1"
}

# Print header
print_header() {
echo
echo "=================================================================="
echo "$1"
echo "=================================================================="
echo
}

# Print section
print_section() {
echo
echo "--- $1 ---"
echo
}

# End of common output functions
Loading