Skip to content

Commit

Permalink
Fix justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCharlton committed Feb 26, 2023
1 parent c5c36d0 commit 3d45b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ _package version:
[macos]
_package version:
cp target/release/{{output-filename}} packages/prep
cd packages/prep && zip -r -9 "../midi-m8-{{version}}{{target-os}}_{{target-arch}}.zip" *
cd packages/prep && zip -r -9 "../midi-m8-{{version}}-{{target-os}}_{{target-arch}}.zip" *
@echo "Created ./packages/midi-m8-{{version}}-{{target-os}}_{{target-arch}}.zip"

[windows]
_package version:
cp target/release/{{output-filename}} packages/prep
cd packages/prep && 7z a -mx9 "../midi-m8-{{version}}{{target-os}}_{{target-arch}}.zip" *
cd packages/prep && 7z a -mx9 "../midi-m8-{{version}}-{{target-os}}_{{target-arch}}.zip" *
@echo "Created ./packages/midi-m8-{{version}}-{{target-os}}_{{target-arch}}.zip"

0 comments on commit 3d45b52

Please sign in to comment.