ripsecrets 0.1.11

A command-line tool to prevent committing secret keys into your source code
Documentation
VERSION="0.1.2"

set -e

# build

cargo build --release
cargo build --target x86_64-apple-darwin --release
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-unknown-linux-gnu-gcc cargo build --target x86_64-unknown-linux-gnu --release

# notarize

if [ `spctl -vvv --assess --type exec target/release/ripsecrets 2>&1 | wc -l` -eq 1 ]; then
    gon gon.json
fi

if [ `spctl -vvv --assess --type exec target/x86_64-apple-darwin/release/ripsecrets 2>&1 | wc -l` -eq 1 ]; then
    gon gon-x86_64.json
fi