mattn / gom

Go Manager - bundle for go
1.38k stars 92 forks source link

add imports from tests file with group test #77

Closed sergeylanzman closed 7 years ago

sergeylanzman commented 8 years ago
gom 'github.com/tinylib/msgp', :commit => '0d29f4bb1d9c5d1ad8ad54e0507ca54c0fa50482'
gom 'golang.org/x/net', :commit => '042ba42fa6633b34205efc66ba5719cd3afd8d38'
gom 'gopkg.in/airbrake/gobrake.v1', :commit => 'f12667a6c3bda272083682a04a05ee7a14e55378'
gom 'gopkg.in/fsnotify.v1', :commit => '508915b7500b6e42a87132e4afeb4729cebc7cbb'
gom 'gopkg.in/yaml.v2', :commit => 'f7716cbe52baa25d2e9b0d0da546fcf909fc16b4'

group :test do
  gom 'github.com/manveru/faker', :commit => 'c24639bcbebfdad57cd23c7c13aa79c6cd450976'
  gom 'github.com/stretchr/testify', :commit => '9f9027faeb0dad515336ed2f28317f9f8f527ab4'
end
mattn commented 8 years ago

Pleaes try https://github.com/mattn/go-gom-example

When do gom gen gomfile, Gomfile is generated broken.

gom 'github.com/daviddengcn/go-colortext', :commit => '3b18c8575a432453d41fdafb340099fff5bba2f7'
gom 'github.com/mattn', :commit => '42215ec36bbcbc8b5d20366c8548e8753e5f9939'