Skip to content

Commit

Permalink
add symlink to panacus-visualize in bin
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany Doerr committed Oct 22, 2024
1 parent 21dabc7 commit dd63670
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ VERSION="0.2.5"
ARCH="${PANACUS_TARGET}"
# ARCH="x86_64-unknown-linux-musl"
# ARCH="x86_64-apple-darwin"
# ARCH="aarch64-apple-darwin"

echo "Packaging ${NAME}, ${EXEC}, ${VERSION}, ${ARCH}"
cargo fmt && \
Expand Down Expand Up @@ -42,6 +43,7 @@ cp -r ./docs ./pkg/${NAME}-${VERSION}_${ARCH}/
mkdir ./pkg/${NAME}-${VERSION}_${ARCH}/bin
cp target/${ARCH}/release/${EXEC} ./pkg/${NAME}-${VERSION}_${ARCH}/bin/
strip ./pkg/${NAME}-${VERSION}_${ARCH}/bin/${EXEC}
ln -s ../scripts/$NAME-visualize.py ./pkg/${NAME}-${VERSION}_${ARCH}/$NAME-visualize

cp LICENSE ./pkg/${NAME}-${VERSION}_${ARCH}/
cp README.md ./pkg/${NAME}-${VERSION}_${ARCH}/
Expand Down

0 comments on commit dd63670

Please sign in to comment.