Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the folder flutter_ffi_plugin to flutter_package #422

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: 2
updates:
- package-ecosystem: pub
directory: "flutter_ffi_plugin/"
directory: "flutter_package/"
schedule:
interval: daily
- package-ecosystem: pub
directory: "flutter_ffi_plugin/example/"
directory: "flutter_package/example/"
schedule:
interval: daily
- package-ecosystem: cargo
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _Please mention issues fixed by this PR here, using format "Fixes #(Issue number
_Please make sure that you've analyzed and formatted the files._

```
dart analyze flutter_ffi_plugin --fatal-infos
dart analyze flutter_package --fatal-infos
dart format .
cargo fmt
cargo clippy --fix --allow-dirty
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/example_app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,34 +85,34 @@ jobs:

- name: Build the example app
if: matrix.target == 'linux'
working-directory: flutter_ffi_plugin/example/
working-directory: flutter_package/example/
run: flutter build linux --verbose

- name: Build the example app
if: matrix.target == 'android'
working-directory: flutter_ffi_plugin/example/
working-directory: flutter_package/example/
run: |
flutter build apk --verbose
flutter build appbundle --verbose

- name: Build the example app
if: matrix.target == 'windows'
working-directory: flutter_ffi_plugin/example/
working-directory: flutter_package/example/
run: flutter build windows --verbose

- name: Build the example app
if: matrix.target == 'macos'
working-directory: flutter_ffi_plugin/example/
working-directory: flutter_package/example/
run: flutter build macos --verbose

- name: Build the example app
if: matrix.target == 'ios'
working-directory: flutter_ffi_plugin/example/
working-directory: flutter_package/example/
run: flutter build ios --verbose --no-codesign

- name: Build the example app
if: matrix.target == 'web'
working-directory: flutter_ffi_plugin/example/
working-directory: flutter_package/example/
run: |
rinf wasm --release
flutter build web --verbose
4 changes: 2 additions & 2 deletions .github/workflows/publication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
# https://dart.dev/tools/pub/automated-publishing

- name: Check the Flutter FFI plugin
working-directory: flutter_ffi_plugin/
working-directory: flutter_package/
run: dart pub publish --dry-run

- name: Publish the Flutter FFI plugin
working-directory: flutter_ffi_plugin/
working-directory: flutter_package/
run: dart pub publish --force

# Save the `crates.io` API token at
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/quality_control.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:

- name: Fetch Flutter dependencies
run: |
flutter pub get --directory flutter_ffi_plugin/
flutter pub get --directory flutter_ffi_plugin/cargokit/build_tool
flutter pub get --directory flutter_package/
flutter pub get --directory flutter_package/cargokit/build_tool

- name: Generate message files
working-directory: flutter_ffi_plugin/example/
working-directory: flutter_package/example/
run: rinf message

# Targets are basically combinations of
Expand All @@ -74,7 +74,7 @@ jobs:

- name: Analyze code
run: |
dart analyze flutter_ffi_plugin --fatal-infos
dart analyze flutter_package --fatal-infos

- name: Format code
run: |
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["./flutter_ffi_plugin/example/native/*", "./rust_crate"]
members = ["./flutter_package/example/native/*", "./rust_crate"]
resolver = "2"

[patch.crates-io]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Rinf is a production-ready framework for creating beautiful and performant cross

## 🎮 Demo

Visit the [demo](https://rinf-demo.cunarist.com/) running on the web to experience the smoothness and delightfulness that comes from the combination of Flutter and Rust. You can also dive into the [example code](https://github.com/cunarist/rinf/tree/main/flutter_ffi_plugin/example).
Visit the [demo](https://rinf-demo.cunarist.com/) running on the web to experience the smoothness and delightfulness that comes from the combination of Flutter and Rust. You can also dive into the [example code](https://github.com/cunarist/rinf/tree/main/flutter_package/example).

## 🖥️ Platform Support

Expand Down
10 changes: 5 additions & 5 deletions automate/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def replace_text_in_file(filepath: str, change_from: str, change_to: str):
elif sys.argv[1] == "cargokit-update":
print("Updating CargoKit...")
command = "git subtree pull"
command += " --prefix flutter_ffi_plugin/cargokit"
command += " --prefix flutter_package/cargokit"
command += " https://github.com/irondash/cargokit.git"
command += " main"
os.system(command)
Expand All @@ -36,7 +36,7 @@ def replace_text_in_file(filepath: str, change_from: str, change_to: str):

os.chdir("./test_app/")

command = "dart pub add \"rinf:{'path':'../flutter_ffi_plugin'}\""
command = "dart pub add \"rinf:{'path':'../flutter_package'}\""
os.system(command)
command = "rinf template"
while os.system(command) != 0:
Expand Down Expand Up @@ -73,7 +73,7 @@ def replace_text_in_file(filepath: str, change_from: str, change_to: str):

replace_text_in_file(
"Cargo.toml",
"flutter_ffi_plugin/example/native/*",
"flutter_package/example/native/*",
"test_app/native/*",
)

Expand Down Expand Up @@ -127,7 +127,7 @@ def replace_text_in_file(filepath: str, change_from: str, change_to: str):

replace_text_in_file(
"Cargo.toml",
"flutter_ffi_plugin/example/native/*",
"flutter_package/example/native/*",
"user_app/native/*",
)
replace_text_in_file(
Expand All @@ -137,7 +137,7 @@ def replace_text_in_file(filepath: str, change_from: str, change_to: str):
)

elif sys.argv[1] == "prepare-example-app":
os.chdir("./flutter_ffi_plugin/example")
os.chdir("./flutter_package/example")

command = "rinf message"
while os.system(command) != 0:
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion flutter_ffi_plugin/README.md → flutter_package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Rinf is a production-ready framework for creating beautiful and performant cross

## 🎮 Demo

Visit the [demo](https://rinf-demo.cunarist.com/) running on the web to experience the smoothness and delightfulness that comes from the combination of Flutter and Rust. You can also dive into the [example code](https://github.com/cunarist/rinf/tree/main/flutter_ffi_plugin/example).
Visit the [demo](https://rinf-demo.cunarist.com/) running on the web to experience the smoothness and delightfulness that comes from the combination of Flutter and Rust. You can also dive into the [example code](https://github.com/cunarist/rinf/tree/main/flutter_package/example).

## 🖥️ Platform Support

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion rust_crate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Rinf is a production-ready framework for creating beautiful and performant cross

## 🎮 Demo

Visit the [demo](https://rinf-demo.cunarist.com/) running on the web to experience the smoothness and delightfulness that comes from the combination of Flutter and Rust. You can also dive into the [example code](https://github.com/cunarist/rinf/tree/main/flutter_ffi_plugin/example).
Visit the [demo](https://rinf-demo.cunarist.com/) running on the web to experience the smoothness and delightfulness that comes from the combination of Flutter and Rust. You can also dive into the [example code](https://github.com/cunarist/rinf/tree/main/flutter_package/example).

## 🖥️ Platform Support

Expand Down