- README: a build quick-start for macOS and Windows, the honest Linux
story, what CUDA is for and how to install the separation model.
- AGENTS.md: the `--remote` control surface protocol, so the harness it
documents is usable without reading platform/src/remote.rs.
- Cargo.toml: workspace membership for the crates this series adds and
removes.
- tools/: the Windows box scripts (wincmd, winps and friends, winrun) and
remote_smoke.sh — how a build gets driven on a remote machine.
- apps/asset-server: the standalone server binary and its README.
- Small follow-ups in libs/{windows,apple_sys,makepad_test,mbtile_reader,
converse} and apps/route, plus .gitignore and makepad.splash.
20 lines
546 B
Bash
Executable file
20 lines
546 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
BIN="${MAKEPAD_TUNNEL_BIN:-$REPO_ROOT/target/release/cargo-makepad}"
|
|
ADDR="${WIN_TUNNEL_ADDR:-10.0.0.217:8384}"
|
|
|
|
if [[ ! -x "$BIN" ]]; then
|
|
echo "missing tunnel binary: $BIN" >&2
|
|
echo "build it with: cargo build -p cargo-makepad --release" >&2
|
|
exit 1
|
|
fi
|
|
|
|
if [[ $# -eq 0 ]]; then
|
|
echo "usage: $(basename "$0") <command...>" >&2
|
|
exit 2
|
|
fi
|
|
|
|
exec "$BIN" tunnel "$ADDR" --no-sync shell "$@"
|