add dotglob for .git
This commit is contained in:
parent
9f3010c704
commit
5ab4b543e6
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ steps:
|
||||||
mkdir -p '$(GOBIN)'
|
mkdir -p '$(GOBIN)'
|
||||||
mkdir -p '$(GOPATH)/pkg'
|
mkdir -p '$(GOPATH)/pkg'
|
||||||
mkdir -p '$(modulePath)'
|
mkdir -p '$(modulePath)'
|
||||||
shopt -s extglob
|
shopt -s extglob dotglob
|
||||||
mv !(gopath) '$(modulePath)'
|
mv !(gopath) '$(modulePath)'
|
||||||
echo '##vso[task.prependpath]$(GOBIN)'
|
echo '##vso[task.prependpath]$(GOBIN)'
|
||||||
echo '##vso[task.prependpath]$(GOROOT)/bin'
|
echo '##vso[task.prependpath]$(GOROOT)/bin'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue