#!/bin/bash # Check script that handles sqlx offline compilation # Set SQLX_OFFLINE to prevent database connection during compilation export SQLX_OFFLINE=true # Check the workspace echo "Checking workspace with SQLX_OFFLINE=true..." cargo check --workspace "$@"