mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
Impr: Add a usage check for the ci/run-docker.sh script
This commit is contained in:
committed by
Amanieu d'Antras
parent
f4ee8f0282
commit
dd2d469c8b
@@ -5,6 +5,11 @@
|
||||
|
||||
set -ex
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
>&2 echo "Usage: $0 <TARGET>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run() {
|
||||
target=$(echo "${1}" | sed 's/-emulated//')
|
||||
echo "Building docker container for TARGET=${1}"
|
||||
|
||||
Reference in New Issue
Block a user