这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Fix Flutter Package Naming Issue and Add Desktop Support

Summary

This PR resolves the Dart package naming issue where "flutter-ci-tool" violated Dart naming conventions and adds desktop platform support to the Flutter project.

Changes Made

  • Renamed directory from tools/flutter-ci-tool to tools/flutter_ci_tool to follow Dart naming conventions (lowercase letters and underscores only)
  • Updated CMake references in tools/CMakeLists.txt and tools/flutter_ci_tool/CMakeLists.txt to use the new directory name
  • Added desktop platform support by running flutter create --platforms=windows,macos,linux . which generated:
    • Linux desktop support files (linux/ directory)
    • macOS desktop support files (macos/ directory)
    • Windows desktop support files (windows/ directory)

Technical Details

  • The pubspec.yaml already used the valid package name "midicci_flutter_gui"
  • The issue was with the directory name using hyphens instead of underscores
  • CMake build system integration is maintained through updated add_subdirectory() references
  • All Flutter functionality verified working after the rename

Verification

  • flutter create --platforms=windows,macos,linux . runs successfully without package naming errors
  • flutter pub get works correctly in the renamed directory
  • flutter analyze runs successfully (with only pre-existing style warnings)
  • ✅ CMake configuration works correctly with updated directory references
  • ✅ No remaining references to "flutter-ci-tool" found in the codebase

Link to Devin run

https://app.devin.ai/sessions/76907e9b746d48e48c164fdb5a623f26

Requested by: Atsushi Eno (atsushieno@gmail.com)

…ompliance

- Rename directory from flutter-ci-tool to flutter_ci_tool to follow Dart package naming conventions
- Update CMake references in tools/CMakeLists.txt and flutter_ci_tool/CMakeLists.txt
- Maintain existing CMake build system integration
- Desktop platform support already added via flutter create command

Co-Authored-By: Atsushi Eno <atsushieno@gmail.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@atsushieno atsushieno merged commit 4f3e8d5 into flutter_ui Jun 21, 2025
@atsushieno atsushieno deleted the devin/1750459937-fix-flutter-package-name branch June 21, 2025 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants