Browse Source

go get trigger

pull/2141/head
Shelikhoo 6 years ago
parent
commit
d01c687f27
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
  1. 7
      azure-pipelines.yml

7
azure-pipelines.yml

@ -62,7 +62,7 @@ jobs:
version: '1.12' version: '1.12'
- script: | - script: |
mkdir triggersrc mkdir triggersrc
cp -r !(triggersrc) . triggersrc ls -I "triggersrc" | xargs cp -rf -t triggersrc
mkdir gopath mkdir gopath
displayName: Prepare Environment displayName: Prepare Environment
workingDirectory: '$(system.defaultWorkingDirectory)' workingDirectory: '$(system.defaultWorkingDirectory)'
@ -72,11 +72,10 @@ jobs:
displayName: Apt Install displayName: Apt Install
- script: | - script: |
go version go version
#go get -v -t -d v2ray.com/core/...
unset GOPATH unset GOPATH
go get -v -t -d github.com/v2fly/v2ray-core/...
mkdir ./src/v2ray.com mkdir ./src/v2ray.com
ln -s ./src/github.com/v2fly/v2ray-core/ ./src/v2ray.com/core ln -s ../triggersrc ./src/v2ray.com/core
go get -v -t -d v2ray.com/core/...
workingDirectory: '$(GOPATH)' workingDirectory: '$(GOPATH)'
displayName: 'Fetch sources' displayName: 'Fetch sources'
- script: | - script: |

Loading…
Cancel
Save