mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-11 05:07:13 +00:00
XcodeCapp 4.0 is a major release of our beloved tool. In a nutshell it: - allows to manage multiple projects simultaneously - allows to follow operations and cancel them - has a per project Error and Warning reporting - supports capp_env as you can define additional paths and objj include path per project - much more things
22 lines
310 B
Bash
Executable File
22 lines
310 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
ARGS=($@)
|
|
|
|
echo "{"
|
|
for ((i = 0; i < $#; i++)); do
|
|
BINARY=${ARGS[$i]}
|
|
LOCATION=`which $BINARY`
|
|
|
|
if [[ $? == 1 ]]; then
|
|
exit 1
|
|
fi
|
|
|
|
END=""
|
|
|
|
if [[ $i != $(( $# - 1 )) ]]; then
|
|
END=","
|
|
fi
|
|
|
|
echo " \"$BINARY\": \"$LOCATION\"$END"
|
|
done;
|
|
echo "}" |