Something went wrong. Try again.
An auto tiler for macOS
Something went wrong. Try again.
1234567891011121314151617181920#!/bin/bashset -euo pipefail
if [[ $# -lt 1 || $# -gt 2 || -z $1 || $1 == -* || ( $# -eq 2 && $2 != --e2e ) ]]; then echo "Usage: $0 <host> [--e2e]" >&2 exit 2fi
cd "$(dirname "$0")/.."host=$1runner=Scripts/test.shif [[ ${2:-} == --e2e ]]; then runner=Scripts/test-e2e.shfisource Scripts/remote-sync.shremote_dir=$(remote_sync "$host")# The directory is validated above before it is inserted into the remote command.# shellcheck disable=SC2029ssh "$host" "cd ~/parcel-ci/$remote_dir && $runner"