✓
Passing This code compiles and runs correctly.
Code
// Test 640: build:command.sh - Frontend shell command execution
//
// This test validates that shell commands can be declared and executed
// instantly from the frontend without backend compilation overhead.
~import "$std/build"
~std.build:command.sh(name: "hello") {
echo "Hello from Koru!"
}
~std.build:command.sh(name: "args") {
echo "Args: $@"
}
Test Configuration
Post-validation Script:
#!/bin/bash
# Test shell command execution
set -e
echo "=== Testing shell command 'hello' ==="
koruc input.kz hello
echo ""
echo "=== Testing shell command 'args' with arguments ==="
koruc input.kz args one two three