|
|
@ -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: |
|
|
|
|