Idris2/tests/base/system_info_os001/run

17 lines
398 B
Plaintext
Raw Normal View History

rm -rf build
2021-06-29 02:18:14 +03:00
case "$(uname)" in
Linux*) EXPECTED_OS=unix ;;
OpenBSD*) EXPECTED_OS=unix ;;
FreeBSD*) EXPECTED_OS=unix ;;
NetBSD*) EXPECTED_OS=unix ;;
2021-06-29 02:18:14 +03:00
Darwin*) EXPECTED_OS=darwin ;;
CYGWIN*) EXPECTED_OS=windows ;;
MINGW*) EXPECTED_OS=windows ;;
*) echo "unknown uname $(uname)" >&2; exit 1; ;;
esac
export EXPECTED_OS
$1 --no-banner --no-color --console-width 0 Os.idr --exec main