Skip to content

Commit

Permalink
chore: add strip to linux build just job
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroo committed Aug 28, 2023
1 parent f031c9e commit fbe895c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Build the release binaries for Linux and put the binaries+cfg in the output directory
build_release_linux output_dir:
cargo build --release && cp target/release/kanata "{{output_dir}}/kanata"
cargo build --release --features cmd && cp target/release/kanata "{{output_dir}}/kanata_cmd_allowed"
cargo build --release
cp target/release/kanata "{{output_dir}}/kanata"
strip "{{output_dir}}/kanata"
cargo build --release --features cmd
cp target/release/kanata "{{output_dir}}/kanata_cmd_allowed"
strip "{{output_dir}}/kanata_cmd_allowed"
cp cfg_samples/kanata.kbd "{{output_dir}}"

# Build the release binaries for Windows and put the binaries+cfg in the output directory. Run as follows: `just --shell powershell.exe --shell-arg -c build_release_windows <output_dir>`.
Expand Down

0 comments on commit fbe895c

Please sign in to comment.