Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

618 B
Raw Blame
lambda_name := file_name(justfile_directory())

import '../../tooling/just/database.just'

mod sqlx '../../tooling/just/sqlx.just'
force_drop_db:
    echo "y" | just sqlx::drop_db {{ DATABASE_URL }}

check:
    SQLX_OFFLINE=true cargo check

create_db:
    just sqlx::create_db {{ DATABASE_URL }}

# Prepare DB for offline cache for docker image
prepare_db:
    just sqlx::prepare_db {{ DATABASE_URL }}

test:
    cargo test --all-features

build compiler="":
    SQLX_OFFLINE=true cargo lambda build {{ if compiler == "" { "" } else { "--compiler " + compiler } }} --release --bin {{lambda_name}} --output-format zip