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

Feature: dubDependency as a source directive #8

Open
aliak00 opened this issue Oct 22, 2018 · 1 comment
Open

Feature: dubDependency as a source directive #8

aliak00 opened this issue Oct 22, 2018 · 1 comment

Comments

@aliak00
Copy link
Contributor

aliak00 commented Oct 22, 2018

So that you could:

#!/usr/bin/env rund
//!dubDependency sumtype *

import sumtype;

void main() {}

Feasible and/or good idea?

@marler8997
Copy link
Collaborator

Yes. I haven't really thought about this so I'd have to think about the details but this is the type of thing that is meant to go in these new "source compiler directives". I think dependencies on libraries like dub would be a great addition.

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