mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
12 lines
192 B
Bash
Executable File
12 lines
192 B
Bash
Executable File
#!/usr/bin/env bash
|
|
if [ -z "$CARP" ]
|
|
then
|
|
if [ -z "$NIX_CC" ]
|
|
then
|
|
stack build
|
|
else
|
|
cabal build
|
|
fi
|
|
fi
|
|
command -v clang-format >/dev/null && clang-format -i core/*.h || true
|