# SPDX-License-Identifier: PMPL-1.0-or-later
# Activate development environment
# Install direnv: https://direnv.net/

# Load .tool-versions if asdf is available
if has asdf; then
  use asdf
fi

# Load Guix shell if guix.scm exists
if has guix && [ -f guix.scm ]; then
  use guix
fi

# Load Nix flake if flake.nix exists
if has nix && [ -f flake.nix ]; then
  use flake
fi

# Project environment variables
export PROJECT_NAME="anvomidaviser"
export RSR_TIER="infrastructure"
# export DATABASE_URL="..."
# export API_KEY="..."

# Source .env if it exists (gitignored)
dotenv_if_exists
