Skip to content

Commit

Permalink
update archive
Browse files Browse the repository at this point in the history
  • Loading branch information
tatref committed Feb 13, 2024
1 parent 3b19be8 commit 48e7730
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions make_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,18 @@ cargo clean
cargo update
RUSTFLAGS="-C target-cpu=x86-64-v2" cargo zigbuild --release --target x86_64-unknown-linux-gnu.2.12

cross b --release --target x86_64-pc-windows-gnu --bin kpageflags-viewer

echo "$LONG_VERSION" > VERSION

ARCHIVE="linux-mem-$SHORT_VERSION.tar.xz"
tar -cJf "$ARCHIVE" \
--transform 's:target/x86_64-unknown-linux-gnu/release/::' \
--transform 's:target/x86_64-pc-windows-gnu/release/::' \
--transform "s:^:linux-mem-$SHORT_VERSION/:" \
README.md VERSION \
target/x86_64-unknown-linux-gnu/release/{memstats,procinfo,shmem,kpageflags-viewer} \
target/x86_64-pc-windows-gnu/release/kpageflags-viewer.exe \
proc_snap/snap.py

echo Done
Expand Down

0 comments on commit 48e7730

Please sign in to comment.