mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
Create an independent Gradle product with 26-tool navigation, isolated data paths, and a real JSON format/find/history/vault flow so the first slice can build and run without depending on other MooTool lines. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
407 B
Bash
Executable File
13 lines
407 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
if [[ -z "${JAVA_HOME:-}" ]]; then
|
|
if /usr/libexec/java_home -v 21 >/dev/null 2>&1; then
|
|
export JAVA_HOME="$(/usr/libexec/java_home -v 21)"
|
|
fi
|
|
fi
|
|
export MOOTOOL_COMPOSE_DATA_DIR="${MOOTOOL_COMPOSE_DATA_DIR:-$ROOT/local.properties.d/dev-profile}"
|
|
mkdir -p "$MOOTOOL_COMPOSE_DATA_DIR"
|
|
cd "$ROOT"
|
|
./gradlew :composeApp:run
|