What are the (non-developers) use cases for --upload-tools

Tim Penhey tim.penhey at canonical.com
Mon Mar 25 21:50:27 UTC 2013


On 26/03/13 10:14, Gustavo Niemeyer wrote:
> On Mon, Mar 25, 2013 at 6:04 PM, Tim Penhey <tim.penhey at canonical.com> wrote:
>>> Imagine you have the whole file #ifdef'd. That's how Go handles it via
>>> the //build flags.
>>
>> Sorry, but this still doesn't answer my question.
> 
> I can't do better if you give no hints of why this isn't answering
> your question.

My question was (stated differently):

In go, how do you restrictively build something with tags?

i.e. If we have --tags release, how would a file be included or excluded
from the build / installed files?

How does that impact testing?  As in, how do you test builds both with
and without the files?

Tim



More information about the Juju-dev mailing list