mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
17 lines
551 B
Bash
17 lines
551 B
Bash
#!/bin/sh
|
|
# Compile-checks the workspace for Windows on Linux (script/check-target.sh): x64 by default, or arm64. First it runs
|
|
# script/lint-windows.sh, which finds code that is right on Unix and wrong on Windows.
|
|
#
|
|
# Usage: sh script/check-windows.sh [x64|arm64] [extra cargo clippy arguments...]
|
|
set -eu
|
|
|
|
target=x86_64-pc-windows-msvc
|
|
case ${1:-} in
|
|
x64) shift ;;
|
|
arm64)
|
|
target=aarch64-pc-windows-msvc
|
|
shift
|
|
;;
|
|
esac
|
|
sh "$(dirname -- "$0")/lint-windows.sh"
|
|
exec sh "$(dirname -- "$0")/check-target.sh" "$target" "$@"
|