Standard env init.

This commit is contained in:
2025-06-30 09:16:21 -07:00
parent 8f513235e2
commit 58097f7831
36 changed files with 294 additions and 327 deletions

View File

@@ -3,13 +3,8 @@
set -e
set -o pipefail
# Source common utilities
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/wild-common.sh"
# Initialize Wild-Cloud environment
init_wild_env
# Parse arguments
SKIP_INSTALL=false
while [[ $# -gt 0 ]]; do
@@ -53,8 +48,15 @@ while [[ $# -gt 0 ]]; do
esac
done
# Check if we're in a wild-cloud directory
check_wild_directory
# Initialize Wild-Cloud environment
if [ -z "${WC_ROOT}" ]; then
print "WC_ROOT is not set."
exit 1
else
source "${WC_ROOT}/scripts/common.sh"
init_wild_env
fi
# Check basic configuration
check_basic_config