add build scripts for native and musl

This commit is contained in:
2020-10-11 23:03:28 +02:00
parent 7efa04054c
commit ff84a7a481
4 changed files with 20 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
/target /target
.idea/ .idea/
crsn.json5 crsn.json5
Executable
+8
View File
@@ -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"
Executable
+8
View File
@@ -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"
+3
View File
@@ -0,0 +1,3 @@
*
!.gitignore