From d01c687f27edfedf81d162f966df9ecd1878ece6 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Mon, 15 Apr 2019 19:30:40 +0800 Subject: [PATCH] go get trigger --- azure-pipelines.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 95e91fa7..4838d091 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -62,7 +62,7 @@ jobs: version: '1.12' - script: | mkdir triggersrc - cp -r !(triggersrc) . triggersrc + ls -I "triggersrc" | xargs cp -rf -t triggersrc mkdir gopath displayName: Prepare Environment workingDirectory: '$(system.defaultWorkingDirectory)' @@ -72,11 +72,10 @@ jobs: displayName: Apt Install - script: | go version - #go get -v -t -d v2ray.com/core/... unset GOPATH - go get -v -t -d github.com/v2fly/v2ray-core/... 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)' displayName: 'Fetch sources' - script: |