mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
15 lines
437 B
Bash
Executable File
15 lines
437 B
Bash
Executable File
#!/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
|