Skip to content

Commit

Permalink
upx
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 3, 2024
1 parent a42449a commit b384ea3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions upx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# a warpper for "post-run" build scripts
# see also https://github.com/rust-lang/cargo/issues/545

command $*
status_code="$?"
find ./target/ \( -name hitdns -or -name hitdns.exe \) -exec upx '{}' \;
exit "$status_code"

0 comments on commit b384ea3

Please sign in to comment.