diff --git a/.gitignore b/.gitignore index 42f7d96..05f1695 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target .idea/ crsn.json5 + diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..91b72d2 --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e + +cargo build --release --bin launcher +cp target/release/launcher ./out/crsn + +echo "Target built and copied to ./out/crsn" diff --git a/build_musl.sh b/build_musl.sh new file mode 100755 index 0000000..d7190b2 --- /dev/null +++ b/build_musl.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e + +cargo build --target x86_64-unknown-linux-musl --release --bin launcher_nox +cp target/x86_64-unknown-linux-musl/release/launcher_nox ./out/crsn-musl + +echo "Target built and copied to ./out/crsn-musl" diff --git a/out/.gitignore b/out/.gitignore new file mode 100644 index 0000000..a5baada --- /dev/null +++ b/out/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore +