skelterjohn/go-gb — Issue #22: Support for setting same target for files in different directories
Author: ashokgelal
Created: 2011-10-24 01:58:41+00:00
State: open

I don't know what I want is even remotely possible with gb. But here is what I'm looking for:

my directory structure
src
|--- cmd
| |--- main.go
|--- pkg
|--- foo
| |--- file1.go
|--- bar
| |--- file2.go

My requirement is that I want to have **file1.go** and **file2.go** in same package. I have some reasons for this directory layout. I tried setting **//target: mylib/all** on both **file1.go** and **file2.go** but I get **Duplicate Target** error.
Am I missing something or this is not supported by gb? If not, is there a chance to support something like this in near future?

Other than this, gb works great.