This commit is contained in:
Felix Ableitner 2024-02-29 13:14:10 +01:00
parent 1491a1ba14
commit 2314b3f5ed
4 changed files with 7 additions and 2 deletions

View File

@ -10,8 +10,7 @@ steps:
commands: commands:
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz - wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz - tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
- cp cargo-binstall /usr/local/cargo/bin - ./cargo-binstall -y trunk
- cargo binstall -y trunk
- trunk build --release - trunk build --release
- cargo build --release - cargo build --release
- ls -la target/release/ibis - ls -la target/release/ibis

View File

@ -94,3 +94,8 @@ crate-type = ["cdylib", "rlib"]
# out temporarily, but make sure to leave this in the main branch. # out temporarily, but make sure to leave this in the main branch.
[profile.dev] [profile.dev]
debug = 0 debug = 0
[profile.release]
lto = "thin"
strip = true # Automatically strip symbols from the binary.
#opt-level = "z" # Optimize for size.

1
assets/dist/ibis.js vendored

File diff suppressed because one or more lines are too long

Binary file not shown.