15 lines
200 B
Bash
Executable file
15 lines
200 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
|
|
if [ "$1" == "release" ]; then
|
|
echo ">> Building Release"
|
|
cargo build --release
|
|
cp lib/* target/release/
|
|
else
|
|
cargo build
|
|
cp lib/* target/debug/
|
|
fi
|
|
|
|
|