Dub. Mercurial (bitbucket.org). Projects deployment

Uranuz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 10 09:42:07 PDT 2014


Also I have additional question to this post.
6. If I would convert my repo to git, but use anather hosting 
that github.org for example my own local server or bitbucket.org. 
How could I specify source for loading dependencies? This is 
unclear from dub documentation. Is it a tool for working with 
concrete web-repository?

7. Also I have a question about structure of folders that dub 
creates. I tried to implement example from vibed.org and created 
test web-server using dub. As I see dub is loading dependencies 
into ~/.dub (on Linux). In my application I have some resources 
that used by application at runtime. These are static data like 
*.html, *.css, images, *.js and other files that included in 
library tha I want to use in my application. What is a good 
approach? Create a separate working folder where I will copy all 
resource files or create symbolic links to folders or write paths 
to this library inside ~/.dup. This is all about general 
organization of project that is not considered very well in 
articles. And I don't know how it can be solved for projects on D 
language.


More information about the Digitalmars-d-learn mailing list