This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
md-pdf-rs/scripts/build
2017-09-09 19:18:42 +01:00

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