forked from FastLED/FastLED
- Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathwasm
More file actions
Latest commit
executable file
·14 lines (10 loc) · 388 Bytes
/
Copy pathwasm
File metadata and controls
executable file
·14 lines (10 loc) · 388 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e
cd"$(dirname "$0")"
# Usage: ./wasm [example_name] [additional_args...]
# Example: ./wasm Blink
# Default: ./wasm (compiles and tests examples/wasm)
EXAMPLE="${1:-wasm}"
shift||true# Remove first argument if it exists, continue if it doesn't
# Run with --run flag to automatically compile + test + exit
uv run ci/wasm_compile.py "examples/$EXAMPLE" --run "$@"