build: Use correct version of vodozemac for web build

pull/2234/head
Christian Kußowski 2 weeks ago
parent 1549b47fed
commit f6d502459a
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -1,6 +1,8 @@
#!/bin/sh -ve #!/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 cd .vodozemac
cargo install flutter_rust_bridge_codegen cargo install flutter_rust_bridge_codegen
flutter_rust_bridge_codegen build-web --dart-root dart --rust-root $(readlink -f rust) --release flutter_rust_bridge_codegen build-web --dart-root dart --rust-root $(readlink -f rust) --release

Loading…
Cancel
Save