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

Comments

@s-ludwig
Copy link
Member

commented Jul 20, 2013

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

This comment has been minimized.

Copy link
Contributor

commented Oct 21, 2013

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

This comment has been minimized.

Copy link

commented Jun 20, 2014

Is this still planned?

@s-ludwig

This comment has been minimized.

Copy link
Member Author

commented Jun 21, 2014

Yes, it just has relatively low priority.

@SerialVelocity

This comment has been minimized.

Copy link

commented Aug 4, 2014

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

@LightBender

This comment has been minimized.

Copy link

commented Sep 8, 2015

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

This comment has been minimized.

Copy link
Contributor

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
Dubify project
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

This comment has been minimized.

Copy link
Member Author

commented Sep 12, 2018

Fixed by #1364

@s-ludwig s-ludwig closed this Sep 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.