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

Add setting to run convert to text - all files upon build project/exe #224

Open
FoxTeamDev opened this issue Mar 23, 2024 · 1 comment
Open

Comments

@FoxTeamDev
Copy link

FoxTeamDev commented Mar 23, 2024

Is there an existing setting to run foxbin2prg on all files within a project when building? I'm finding that files opened at the command line, GoFish, etc. don't tend to update text files automatically like opening within project explorer does. I'm attaching a clip of my version control settings for reference.

I'm getting in the habit of right-clicking on the project, choosing "Convert binary to text" then "all files" to catch anything that has changed since the last build, but it would be great to have an option to do that at the beginning of the build automatically.

image

Thanks for a great project manager!

-Steve Howie

@rschummer
Copy link

Hi Steve,

Project Explorer has add-on hooks that you can write. Sounds like you might want to create a BeforeProjectBuild add-on. There are actual add-on examples in the Thor\Tools\Apps\Project Explorer\Addins folder (or wherever you have it installed). See the SetVersionNumber.prg program which sets the version number before each build or the SignAfterBuild.prg program if you want to handle your requirements after the build is completed.

Rick

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

No branches or pull requests

2 participants