Skip to content

Dev#148

Merged
MingboPeng merged 2 commits intomasterfrom
dev
Sep 13, 2025
Merged

Dev#148
MingboPeng merged 2 commits intomasterfrom
dev

Conversation

@MingboPeng
Copy link
Owner

  • Update paths for Linux build output
  • Move cleanup commands for OpenStudio plugins to correct locations
  • Standardize directory structure in plugin folder

- Change the path to Ironbug.Console from 'linux-x64/net8/Ironbug.Console' to 'net8/linux-x64/Ironbug.Console'
- This modification ensures compatibility with the latest build structure
- Update paths for Linux build output
- Move cleanup commands for OpenStudio plugins to correct locations
- Standardize directory structure in plugin folder
@MingboPeng MingboPeng merged commit dac1673 into master Sep 13, 2025
2 checks passed
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @MingboPeng, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refines the build and packaging process by addressing path inconsistencies and optimizing cleanup operations within the Makefile. The primary goal is to ensure that build artifacts are correctly located and unnecessary files are removed from the installer's plugin directories, leading to a more robust and predictable release process.

Highlights

  • Linux Build Output Path Correction: The build-console-linux target in the Makefile has been updated to correctly reference the build output path, changing from bin/Release/linux-x64/net8 to bin/Release/net8/linux-x64.
  • OpenStudio Plugin Cleanup Relocation: The commands responsible for removing openstudio* files have been moved. Previously, they targeted the direct build output directories; now, they are executed on the installer/plugin and installer/plugin/net48 directories after the files have been copied, ensuring cleanup applies to the installer's contents.
  • Standardized Directory Structure: The changes contribute to a more consistent and standardized directory structure within the installer/plugin folder by ensuring cleanup operations are performed on the correctly staged files.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the build scripts in the Makefile. The changes correctly move the cleanup of OpenStudio plugin files to after they are copied to the installer directory, which is a good practice. The build output path for the Linux console application is also corrected. I have one suggestion to make the cleanup commands more robust.

Comment on lines +21 to +22
rm ./installer/plugin/openstudio* -r
rm ./installer/plugin/net48/openstudio* -r

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The -r flag for rm should be placed before the file path arguments. Placing it at the end is not standard and may cause the command to fail, for example if it tries to remove a file named -r.

To make the script more robust, I also suggest adding the -f (force) flag. This will prevent the script from failing if no files match the openstudio* pattern. The -rf combination is a common idiom for this purpose.

	rm -rf ./installer/plugin/openstudio*
	rm -rf ./installer/plugin/net48/openstudio*

@MingboPeng
Copy link
Owner Author

🎉 This PR is included in version 1.19.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant