mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
14 lines
437 B
Bash
14 lines
437 B
Bash
#!/usr/bin/env bash
|
|||
|
|
set -euo pipefail
|
||
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||
|
|
TARGET="${1:-}"
|
||
|
|
case "$TARGET" in
|
||
|
|
macos) exec "$ROOT/scripts/build-macos.sh" ;;
|
||
|
|
windows) exec "$ROOT/scripts/build-windows.sh" ;;
|
||
|
|
linux) exec "$ROOT/scripts/build-linux.sh" ;;
|
||
|
|
*)
|
||
|
|
echo "usage: $0 macos|windows|linux" >&2
|
||
|
|
echo "Packages are unsigned. Missing platform toolchains fail instead of faking an installer." >&2
|
||
|
|
exit 1
|
||
|
|
;;
|
||
|
|
esac
|