mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 01:09:03 +03:00
4f0c262ddc
and probably for other *BSD operating systems with minor tweaks
15 lines
217 B
Plaintext
Executable File
15 lines
217 B
Plaintext
Executable File
case `uname -s` in
|
|
OpenBSD|FreeBSD|NetBSD)
|
|
MAKE=gmake
|
|
;;
|
|
|
|
*)
|
|
MAKE=make
|
|
;;
|
|
esac
|
|
|
|
${MAKE} all > /dev/null
|
|
$1 --no-banner Struct.idr < input
|
|
rm -rf build
|
|
${MAKE} clean > /dev/null
|