Skip to content

Commit

Permalink
add build shell
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanimal committed Feb 6, 2023
1 parent a4f1a53 commit b3cdbb7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist
target
*.log
9 changes: 9 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

set -ex

mkdir -p dist
cargo build --release --target=x86_64-pc-windows-gnu
zip -j -r dist/x86_64-pc-windows-gnu.zip target/x86_64-pc-windows-gnu/release/unicode-normalizer.exe
cargo build --release --target=x86_64-apple-darwin
zip -j -r dist/x86_64-apple-darwin.zip target/x86_64-apple-darwin/release/unicode-normalizer

0 comments on commit b3cdbb7

Please sign in to comment.