{% extends "base.html" %} {% block title %}Build{% endblock %} {% block breadcrumb %}Build{% endblock %} {% block content %} {# ── Build info stats ── #} {% if build_info %}
{{ build_info.workspace_name|default('—') }}
Workspace
{{ build_info.workspace_version|default('—') }}
Version
{{ build_info.mode|default('—') }}
Mode
{{ build_info.total_artifacts|default(0) }}
Artifacts
{% endif %} {# ── Tabs ── #}
{# ── Artifacts tab ── #}
{% if artifacts %}
Crous Artifacts .crous binary format
{% for art in artifacts %}
{{ art.name }}
{% if art.digest %}
sha256:{{ art.digest[:16] }}…
{% endif %}
{{ art.kind|default('artifact') }} {{ art.size|default('—') }}
{% endfor %}
{% else %}
No build artifacts found.
Run aquilia build to generate Crous artifacts.
{% endif %}
{# ── File Viewer tab ── #}
Artifact Contents
{% if artifacts %} {% for art in artifacts %} {% if art.content %}
{{ art.name }} {{ art.content_type|default('binary') }}
{% if art.content_highlighted %}{{ art.content_highlighted|safe }}{% else %}{{ art.content }}{% endif %}
{% endif %} {% endfor %} {% else %}
No artifact data to display.
Build the project first to inspect artifact contents.
{% endif %} {# ── Other build files ── #} {% if build_files %}
Other Build Files
{% for bf in build_files %}
{{ bf.name }} {{ bf.size }}
{{ bf.content }}
{% endfor %} {% endif %}
{# ── Pipeline tab (restored) ── #}
Build Pipeline Discovery → Validation → Static Check → Compile → Bundle → Fingerprint
{% if pipeline_phases %} {% for phase in pipeline_phases %}
{% if not loop.last %}
{% endif %}
{{ phase.name }}
{{ phase.detail|default('') }}
{% if phase.duration %}
{{ phase.duration }}
{% endif %}
{% endfor %} {% else %} {% for phase_name in ['Discovery', 'Validation', 'Static Check', 'Compilation', 'Bundling', 'Fingerprint'] %}
{% if not loop.last %}
{% endif %}
{{ phase_name }}
Not yet executed
{% endfor %} {% endif %}
{# ── Build Logs tab ── #}
{% if build_log %}
{# Chrome / title bar #}
aquilia build — output
{# Terminal body — lines injected by JS for rich highlighting #}
{# Status bar #}
build_output.txt build_output.txt
{% else %}
No build logs available.
Run aquilia build to generate build logs.
{% endif %}
{# ── Fingerprint ── #} {% if build_info and build_info.fingerprint %}
Build Fingerprint
{{ build_info.fingerprint }}
{% endif %} {% endblock %}