constabulary / gb

gb, the project based build tool for Go
https://getgb.io/
MIT License
2.15k stars 150 forks source link

Added possibility to fetch as 'git clone' #703

Open shmel1k opened 7 years ago

shmel1k commented 7 years ago

Hi. Answering to this https://github.com/constabulary/gb/issues/316 issue. I added possibility to clone repo using 'gb vendor fetch -clone' in order to support this task. It is not a git submodule at all, but allows to manage repository into vendor folder.

codecov-io commented 7 years ago

Codecov Report

Merging #703 into master will decrease coverage by 0.4%. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #703      +/-   ##
==========================================
- Coverage   53.32%   52.91%   -0.41%     
==========================================
  Files          40       42       +2     
  Lines        3036     3152     +116     
==========================================
+ Hits         1619     1668      +49     
- Misses       1241     1341     +100     
+ Partials      176      143      -33
Impacted Files Coverage Δ
internal/vendor/manifest.go 32.81% <ø> (ø) :arrow_up:
internal/fileutils/fileutils.go 19.6% <66.66%> (+1.6%) :arrow_up:
depfile.go 8% <0%> (-24.07%) :arrow_down:
internal/depfile/depfile.go 87.65% <0%> (ø)
cmd/gb/build.go 4.87% <0%> (ø)
build.go 85.33% <0%> (+5.2%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d4ba64b...e0e83e1. Read the comment docs.