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

fix dub dependency build (fix #413) #414

Merged
merged 1 commit into from
Dec 9, 2018

Conversation

WebFreak001
Copy link
Member

run rdmd with $PACKAGE_DIR dub variable for an absolute path. The dubhash.d already uses the environment variable set by dub which tells it where the package is

Copy link
Contributor

@LaurentTreguier LaurentTreguier left a comment

Choose a reason for hiding this comment

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

Just tested, fixes it indeed 👍

@WebFreak001
Copy link
Member Author

did you test on windows? I'm not 100% sure if the forward slash will also work on windows, but I am guessing it should work. If it does work I think this is mergable

@LaurentTreguier
Copy link
Contributor

Didn't think of that, but forward slashes have always worked on Windows for me... I'll still check just in case though

@wilzbach wilzbach merged commit ced64ac into dlang-community:master Dec 9, 2018
@LaurentTreguier
Copy link
Contributor

Doesn't seem to pose any problem. Forward slashes should be avoided for basic windows commands, for example del bin/dubhash.txt doesn't work because cmd.exe thinks /dubhash.txt is an option (even though it doesn't have a space before it...). But rdmd doesn't mind.

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