build: Use correct version of vodozemac for web build
This commit is contained in:
parent
1549b47fed
commit
f6d502459a
1 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh -ve
|
||||
|
||||
git clone https://github.com/famedly/dart-vodozemac.git .vodozemac
|
||||
version=$(yq ".dependencies.flutter_vodozemac" < pubspec.yaml)
|
||||
version=$(expr "$version" : '\^*\(.*\)')
|
||||
git clone https://github.com/famedly/dart-vodozemac.git -b ${version} .vodozemac
|
||||
cd .vodozemac
|
||||
cargo install flutter_rust_bridge_codegen
|
||||
flutter_rust_bridge_codegen build-web --dart-root dart --rust-root $(readlink -f rust) --release
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue