# =============================================================================
# {{project_name|upper}} - RUSTELO FRAMEWORK IMPLEMENTATION
# =============================================================================
# jpl-website implementation using Rustelo modular justfile system
#
# This justfile uses the framework fallback pattern:
# 1. Try to load local implementation-specific task files
# 2. Fall back to framework defaults if local versions don't exist
#
# This allows jpl-website to:
# - Override any framework task with custom implementation
# - Use framework defaults for common tasks
# - Add jpl-website-specific tasks in local justfile modules

# Set shell for commands
set shell := ["bash", "-c"]

# =============================================================================
# IMPLEMENTATION MODULE IMPORTS WITH FRAMEWORK FALLBACK
# =============================================================================
# Local implementation-specific modules take precedence over framework defaults

mod? local-base 'justfiles/base.just'                                    # Local jpl-website base tasks
mod? base '.rustelo-assets//justfiles/base.just'             # Framework from assets

mod? local-database 'justfiles/database.just'                           # Local jpl-website database tasks  
mod? database '.rustelo-assets//justfiles/database.just'    # Framework from assets

mod? local-quality 'justfiles/quality.just'                             # Local jpl-website quality tasks
mod? quality '.rustelo-assets//justfiles/quality.just'      # Framework from assets

mod? local-docs 'justfiles/docs.just'                                   # Local jpl-website docs tasks
mod? docs '.rustelo-assets//justfiles/docs.just'            # Framework from assets

mod? local-content 'justfiles/content.just'                             # Local jpl-website content tasks
mod? content '.rustelo-assets//justfiles/content.just'      # Framework from assets

mod? local-testing 'justfiles/testing.just'                             # Local jpl-website testing tasks
mod? testing '.rustelo-assets//justfiles/testing.just'      # Framework from assets

mod? local-build 'justfiles/build.just'                                 # Local jpl-website build tasks
mod? build-tasks '.rustelo-assets//justfiles/build.just'    # Framework from assets

# =============================================================================
# IMPLEMENTATION-SPECIFIC COMMANDS
# =============================================================================

# Default recipe to display help
default:
    @just --list

# =============================================================================
# LOCAL CUSTOMIZATION
# =============================================================================
# Custom jpl-website-specific tasks can be added to justfiles/ directory
# They will take precedence over framework defaults via the fallback pattern