diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-09-21 12:02:56 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-09-21 12:02:56 +0200 |
commit | 141fd00f7f5d21398dbad640c26aa9d616f59c05 (patch) | |
tree | 195a625a03410ba5b59af5d43ee8fae8120e931a | |
parent | 094922a7ce67c65cfc7e7da0516848f50af203d5 (diff) |
update rust release profile; add default build target
-rw-r--r-- | confninja.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/confninja.sh b/confninja.sh index 4b921b0..3c73e36 100644 --- a/confninja.sh +++ b/confninja.sh @@ -50,8 +50,8 @@ case "$JWM_MODE" in (production) echo 'bundle_mode = --minify' echo 'sass_mode = --style=compress --no-source-maps' - echo 'rust_mode = --release --target x86_64-unknown-linux-musl' - echo 'rs_bin = target/x86_64-unknown-linux-musl/release/jwebmail-extract' + echo 'rust_mode = --profile release-small --target x86_64-unknown-linux-musl' + echo 'rs_bin = target/x86_64-unknown-linux-musl/release-small/jwebmail-extract' ;; esac @@ -210,3 +210,7 @@ then fi echo "build install: phony $ALL_INST" + +# DEFAULT + +echo "default extract public" |