forked from MightyPork/crsn
add build scripts for native and musl
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/target
|
||||
.idea/
|
||||
crsn.json5
|
||||
|
||||
|
||||
@@ -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
@@ -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"
|
||||
@@ -0,0 +1,3 @@
|
||||
*
|
||||
!.gitignore
|
||||
|
||||
Reference in New Issue
Block a user