Skip to content

Commit

Permalink
bundleRulesets release_lnx, attempt 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveMcEwan committed Jun 26, 2023
1 parent b306465 commit 7888733
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,14 @@ RELEASE_MANUAL := pdf/svlint_MANUAL_${VERSION}.pdf

release_lnx:
cargo build --release --target=x86_64-unknown-linux-musl
zip -j ${BIN_NAME}-${VERSION}-x86_64-lnx.zip \
${RELEASE_MANUAL} \
target/x86_64-unknown-linux-musl/release/${BIN_NAME}
mkdir -p tmp/bin/ tmp/doc/
cp ${RELEASE_MANUAL} tmp/doc/
cp target/x86_64-unknown-linux-musl/release/${BIN_NAME} tmp/bin/
cp rulesets/*.toml tmp/bin/
cp $$(find rulesets/ -type f -perm -u+x) tmp/bin/
cd tmp/ && \
zip ${BIN_NAME}-${VERSION}-x86_64-lnx.zip -r *
rm -rf tmp

release_win:
cargo build --release --target=x86_64-pc-windows-msvc
Expand Down

0 comments on commit 7888733

Please sign in to comment.