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

Gem: dub #150

Closed
wilzbach opened this issue May 23, 2016 · 7 comments
Closed

Gem: dub #150

wilzbach opened this issue May 23, 2016 · 7 comments
Labels

Comments

@wilzbach
Copy link
Member

Idea: Give a short intro to dub, examples for different use-cases and ideally how to integrate with one's favorite build system.

Ping @s-ludwig.

@stonemaster
Copy link
Collaborator

#27 must be implemented beforehand

@stonemaster
Copy link
Collaborator

@wilzbach suggestions:

how to create a static,dyn library using dmd
how to link a static, dyn library using dmd

@wilzbach
Copy link
Member Author

Pinging regular contributors to dub @mdondorff @MartinNowak @grogancolin @p0nce @Geod24.
Has someone time to write a short gem (=tour section) about DUB and simple, common use cases?
The target audience is mostly newcomers to D.

FYI #27 is not needed for this (#27 is about the tour getting support for DUB packages).

@Geod24
Copy link
Member

Geod24 commented Aug 15, 2016

Something along the lines of https://github.com/dlang/dub/wiki/Cookbook ?
It might need an update though.

@wilzbach
Copy link
Member Author

Something along the lines of https://github.com/dlang/dub/wiki/Cookbook ?
It might need an update though.

That looks pretty nice already :)
One issue is that the tour currently allows only one example on the right hand side, so a good example that covers a couple of common cases is probably needed.
Btw for impression of other "Gems":

http://tour.dlang.org/tour/en/gems/uniform-function-call-syntax-ufcs
http://tour.dlang.org/tour/en/gems/subtyping

@PetarKirov
Copy link
Member

PetarKirov commented Aug 15, 2016

@wilzbach count me in :P
I think we should do a series of chapters (like on vibe.d), because Dub is integral part of D's ecosystem. It's hard to (maybe even impossible) to do one example that would cover most common use cases.

Probably the right-hand side should be used for writing dub.sdl.

I think what most newcomers find missing is guide similar to Rust's Cargo guide and Haskell's wiki on writing Haskell programs. I think @mdparker and @redstar cover some of that in their books, but I think it would be nice to have it also on tour.

BTW, I think we should do two versions - one for people familiar with CLI tools (the Unix way), and one for people preferring GUIs and IDEs.

@wilzbach
Copy link
Member Author

This issue was moved to dlang-tour/english#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants