This repository has been archived on 2024-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
caylon/backend/build.sh

12 lines
427 B
Bash
Executable file

#!/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