mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-20 01:47:18 +03:00
14 lines
170 B
Bash
Executable File
14 lines
170 B
Bash
Executable File
if [ -z "$CARP" ]
|
|
then
|
|
if [ -z "$NIX_CC" ]
|
|
then
|
|
stack build
|
|
else
|
|
cabal build
|
|
fi
|
|
fi
|
|
if which clang-format > /dev/null
|
|
then
|
|
clang-format -i core/*.h
|
|
fi
|