add build scripts for native and musl

pull/21/head
Ondřej Hruška 4 years ago
parent 7efa04054c
commit ff84a7a481
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 1
      .gitignore
  2. 8
      build.sh
  3. 8
      build_musl.sh
  4. 3
      out/.gitignore

1
.gitignore vendored

@ -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"

@ -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
out/.gitignore vendored

@ -0,0 +1,3 @@
*
!.gitignore
Loading…
Cancel
Save