Skip to content

Commit

Permalink
bump to 0.3.2, fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Dec 10, 2024
1 parent 55633e2 commit c7089f7
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions recipes/serial-monitor-rust/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
context:
version: "0.3.1"
version: "0.3.2"

package:
name: serial-monitor-rust
version: ${{ version }}

source:
- url: https://github.com/hacknus/serial-monitor-rust/archive/refs/tags/v${{ version }}.tar.gz
sha256: 3044e9a19c72efb240742f8a319f83b29efe3f9d2126dab9e3240e7609171079
sha256: 7d9e7f19f3dc86f74852dd0129dcb31feb08a3411269d337dba3463a4f479f01

build:
script: |
if [[ "$OSTYPE" == "darwin"* ]]; then # macOS
cargo install cargo-bundle
cargo bundle --release
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then # Linux
sudo apt-get update
sudo apt-get install -y \
libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev \
libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libudev-dev
cargo install cargo-bundle
cargo bundle --release
elif [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" || "$OSTYPE" == "win32" ]]; then # Windows (Cygwin/MSYS)
cargo install cargo-wix
cargo wix
fi
- if: platform == "osx"
then:
script: |
cargo install cargo-bundle
cargo bundle --release
- if: platform == "linux"
then:
script: |
sudo apt-get update
sudo apt-get install -y \
libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev \
libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libudev-dev
cargo install cargo-bundle
cargo bundle --release
- if: platform == "win"
then:
script: |
cargo install cargo-wix
cargo wix
requirements:
host:
Expand All @@ -42,4 +42,4 @@ about:
summary: A cross-platform serial monitor/plotter written entirely in rust.
extra:
recipe-maintainers:
- hacknus
- hacknus

0 comments on commit c7089f7

Please sign in to comment.