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

Do something useful when "building" targetType none packages #97

Closed
s-ludwig opened this issue Jul 20, 2013 · 7 comments
Closed

Do something useful when "building" targetType none packages #97

s-ludwig opened this issue Jul 20, 2013 · 7 comments

Comments

@s-ludwig
Copy link
Member

Either an informative error message should appear, or, when sub packages exist, DUB could build all sub packages instead for example See also #87.

@WebDrake
Copy link
Contributor

Some thought should probably be given to how this interacts with sourceLibrary packages. In the case that the sourceLibrary is being referenced by a downstream build, one might only want to build the subpackages if they're dependencies of the sourceLibrary -- but if one issues dub build in the root directory of the source library itself, it can probably be assumed that all subpackages should be built.

@cptroot
Copy link

cptroot commented Jun 20, 2014

Is this still planned?

@s-ludwig
Copy link
Member Author

Yes, it just has relatively low priority.

@SerialVelocity
Copy link

Is there a nice-ish workaround for now so I don't need to use a bash script?

@LightBender
Copy link

bump I know it's a low priority but it would be very helpful when working on large scale projects with many components and dependencies.

@SimonN
Copy link
Contributor

SimonN commented Jan 31, 2016

bump -- I'd love to build two target binaries.

Or are there idiomatic solutions, besides running dub twice e.g. from a script/makefile?

lesderid added a commit to lesderid/RABCDAsm that referenced this issue Aug 27, 2017
Building everything at once is blocked on
dlang/dub#97.

Currently, the library and each utility have their own configurations
(e.g. rabcasm can be built with `dub build --config=rabcasm`).
@s-ludwig
Copy link
Member Author

Fixed by #1364

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

No branches or pull requests

6 participants