#!/bin/bash
#cargo build --release --target x86_64-unknown-linux-musl --features encrypt
cargo build --target x86_64-unknown-linux-musl --features $1,
#cross build --release --features encrypt
mkdir -p ../bin
#cp ./target/x86_64-unknown-linux-musl/release/caylon ../bin/backend
cp ./target/x86_64-unknown-linux-musl/debug/caylon ../bin/backend
#cp ./target/release/caylon ../bin/backend
cp ../caylon.json ../bin/caylon.json