| Initial commit: V -> Flutter FFI plugin | 1 | #!/usr/bin/env bash |
| 2 | # Host build + smoke test. CI entry point; not used by Flutter itself. | |
| 3 | set -euo pipefail | |
| 4 | cd "$(dirname "$0")/.." | |
| 5 | command -v v >/dev/null || { echo "V compiler not on PATH"; exit 1; } | |
| 6 | mkdir -p build | |
| 7 | v -shared -o build/libvflutter.so src/vflutter.v | |
| 8 | echo "built: $(ls -la build/libvflutter.so | awk '{print $5}') bytes" | |
| 9 | nm -D --defined-only build/libvflutter.so | grep ' vf_' || { echo "no vf_ exports!"; exit 1; } |