-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audio
, AudioRecorder
, Video
and WebView
controls moved to sep…
…arate Flutter packages (#2579) * `Audio` control moved to a separate `flet_audio` package * Run Flutter job only * Run dry run * remove cd - * Removed custom control example * Fix flutter warnings * `Video` control moved to `flet_video` library * Added flet_video to the build * AudioRecorder control moved to flet_audio_recorder package * WebView control moved to flet_webview package * Remove .flutter-plugins * Ignore .flutter-plugins * Enable all CI jobs * `flet build` to support flutter extra packages * Disable Build Flet for iOS job * 0.20.0 changelogs, readmeas
- Loading branch information
1 parent
946a2fd
commit fe1a4d1
Showing
330 changed files
with
1,126 additions
and
3,883 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import os | ||
import pathlib | ||
import sys | ||
|
||
import yaml | ||
|
||
if len(sys.argv) < 3: | ||
print("Specify pubspec.yaml file and version to patch") | ||
sys.exit(1) | ||
|
||
current_dir = pathlib.Path(os.getcwd()) | ||
pubspec_path = current_dir.joinpath(current_dir, sys.argv[1]) | ||
ver = sys.argv[2] | ||
print(f"Patching pubspec.yaml file {pubspec_path} with {ver}") | ||
|
||
dependencies = [ | ||
"flet", | ||
] | ||
|
||
with open(pubspec_path, "r") as f: | ||
data = yaml.safe_load(f) | ||
|
||
# patch version | ||
data["version"] = ver | ||
|
||
# patch dependencies | ||
for dep in data["dependencies"]: | ||
if dep in dependencies: | ||
data["dependencies"][dep] = f"^{ver}" | ||
# print(dep) | ||
with open(pubspec_path, "w") as file: | ||
yaml.dump(data, file, sort_keys=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
package/example/my_controls/example/macos/Flutter/Flutter-Debug.xcconfig
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
package/example/my_controls/example/macos/Flutter/Flutter-Release.xcconfig
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.