mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 16:02:23 +00:00
* fix: scope cd in parser wasm dev.nu so cli install path resolves Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016xKBCiRBL2NkvpgontuwYf * Update dev.nu --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
16 lines
383 B
Nu
Executable File
16 lines
383 B
Nu
Executable File
#!/usr/bin/env nu
|
|
|
|
# Build in debug mode specified lang parser to wasm
|
|
# and perform installation to frontend
|
|
def "main" [
|
|
lang: string # Example: nu
|
|
] {
|
|
./build.nu $lang --no-opt
|
|
do {
|
|
cd ../../../frontend; npm install ../backend/parsers/windmill-parser-wasm/pkg-($lang)
|
|
}
|
|
do {
|
|
cd ../../../cli; bun install ../backend/parsers/windmill-parser-wasm/pkg-($lang)
|
|
}
|
|
}
|