Migrate selfhost scripts to lang compiler entry; remove residual apps/selfhost-compiler usage in tools; accept optional emission

This commit is contained in:
nyash-codex
2025-11-01 18:53:15 +09:00
parent 2326b6b1bd
commit fcf28be8f9
8 changed files with 17 additions and 37 deletions

View File

@ -2,7 +2,7 @@
set -euo pipefail
ROOT_DIR=$(cd "$(dirname "$0")/.." && pwd)
APP=${1:-apps/selfhost/tools/dep_tree_min_string.nyash}
APP=${1:-lang/src/compiler/entry/compiler_stageb.hako}
OUTDIR=${OUTDIR:-$ROOT_DIR/tmp}
mkdir -p "$OUTDIR"