28 lines
391 B
Bash
Executable File
28 lines
391 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
export CARGO=`which cargo`
|
|
|
|
if [ -z "${TARGET-}" ]; then
|
|
echo "No target defined. build all doesn't exist yet"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "${CMD-}" ]; then
|
|
CMD="release"
|
|
fi
|
|
|
|
export CMD
|
|
|
|
case $TARGET in
|
|
ifc)
|
|
MODULE=ifc builders/rust.sh
|
|
;;
|
|
"")
|
|
echo "No target defined. build all doesn't exist yet"
|
|
;;
|
|
esac
|
|
|
|
|