* build: combine build-pkgs* into build.nu Signed-off-by: pyranota <pyra@duck.com> * nit refactor Signed-off-by: pyranota <pyra@duck.com> --------- Signed-off-by: pyranota <pyra@duck.com>
13 lines
286 B
Nu
Executable File
13 lines
286 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
|
|
(
|
|
cd ../../../frontend; npm install ../backend/parsers/windmill-parser-wasm/pkg-($lang)
|
|
)
|
|
}
|