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

Support GDC by splitting run in build, execute and cleanup #113

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

aleferri
Copy link
Contributor

Hello, i tried to use gdc for a project and this library fail to compile because gdc doesn't support -run, so i thought i could "emulate" the run behaviour by compiling/running/deleting the script for target posix-gdc.

Disclaimer:
I tried this modification only to build my own project in fedora 40, so review this and please provide feedback if i need to change something.

@CyberShadow
Copy link
Member

Hi, have you considered gdmd or rdmd? I don't know if/how either are packaged, but maybe these would be an improvement?

@aleferri
Copy link
Contributor Author

Sorry, i didn't try them, i wasn't aware of their existence and they aren't packaged by default by fedora. Will try them tomorrow

Copy link
Member

@CyberShadow CyberShadow left a comment

Choose a reason for hiding this comment

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

and they aren't packaged by default by fedora

Good to know, then I think this change makes sense.

@Geod24 Does the Dub syntax look good to you? I'm not too familiar with the platform="posix-ldc" syntax.

Copy link
Collaborator

@s-ludwig s-ludwig left a comment

Choose a reason for hiding this comment

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

Syntax looks good!

@CyberShadow CyberShadow merged commit 574ef8d into D-Programming-Deimos:master Aug 3, 2024
12 checks passed
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.

3 participants