Skip to content

Commit

Permalink
Add script for bindings generation
Browse files Browse the repository at this point in the history
  • Loading branch information
DanGould committed Dec 5, 2024
1 parent 2dc6eab commit 5d7cc99
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions contrib/clean-and-gen-bindings.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# Delete generated files in lib/src/generated
echo "Deleting generated files in lib/src/generated..."
rm -rf lib/src/generated/*

# Delete generated files in rust/src/frb_generated
echo "Deleting generated files in rust/src/frb_generated..."
rm -rf rust/src/frb_generated*

# Clean the Flutter project
echo "Running flutter clean..."
flutter clean

# Get Flutter dependencies
echo "Running flutter pub get..."
flutter pub get

# Run make all
echo "Running make all..."
make all

echo "Script execution completed."

0 comments on commit 5d7cc99

Please sign in to comment.