Skip to content

Commit 1180d39

Browse files
Update Justfile
1 parent 071e025 commit 1180d39

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Justfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,3 +455,27 @@ todos:
455455
# Open in editor
456456
edit:
457457
${EDITOR:-code} .
458+
459+
set shell := ["bash", "-c"]
460+
461+
# Build ReScript source to JS for Deno execution
462+
build:
463+
rescript build
464+
465+
# Audit the project for "crap" voids
466+
audit path=".":
467+
@deno run --allow-read lib/js/src/EmptyLinter.bs.js {{path}}
468+
469+
# Enforce symbolic intent by converting 0xA0 to 0x20
470+
correct:
471+
@echo "Purging invisible voids..."
472+
find . -type f -not -path '*/.*' -exec sed -i 's/\xc2\xa0/ /g' {} +
473+
@echo "Sanitisation complete."
474+
475+
# Generate the multi-shell registry (nushell, fish, minix, etc)
476+
gen-shells:
477+
@deno run --allow-write scripts/generate_wrappers.ts
478+
479+
# Documentation access
480+
cookbook:
481+
cat cookbook.adoc

0 commit comments

Comments
 (0)