fixed some stuff

This commit is contained in:
Sebastian Moser
2026-05-18 18:22:32 +02:00
parent d1ddb405c8
commit 19573502d2
10 changed files with 172 additions and 301 deletions

17
md
View File

@@ -1,7 +1,7 @@
#!/bin/sh
set -e
MIZE_SRC="/home/me/work/mize" # hardcoded for now
MIZE_SRC="/home/me/work/config/mize" # hardcoded for now
RSYNC_EXCLUDES="--exclude=node_modules --exclude=target --exclude=mize_config.toml --exclude=rust_dist --exclude=deno_dist --exclude=dist --exclude=result --exclude=pkg"
function main {
@@ -63,15 +63,18 @@ EOF
}
function deploy_main {
cargo build --manifest-path $MIZE_SRC/packages/mize/Cargo.toml --release
cargo build --manifest-path $MIZE_SRC/packages/ppc/Cargo.toml --release --features desktop
mkdir -p ~/here/mize/lib
cargo build --manifest-path $MIZE_SRC/packages/mize/Cargo.toml
cargo build --manifest-path $MIZE_SRC/packages/ppc/Cargo.toml --features desktop
cp $MIZE_SRC/target/release/mize ~/here/mize/
cp $MIZE_SRC/target/release/libppc_part.so ~/here/mize/
systemctl --user stop mize
cp $MIZE_SRC/target/debug/mize ~/here/mize/
cp $MIZE_SRC/target/debug/libppc.so ~/here/mize/lib/libppc_part.so
cp $MIZE_SRC/md ~/here/mize/
cp $MIZE_SRC/target/release/ppc ~/here/mize/
cp $MIZE_SRC/target/debug/ppc ~/here/mize/
systemctl --user restart mize
systemctl --user start mize
}
function deploy_mac {