mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-06 09:26:59 -05:00
go get trigger
This commit is contained in:
parent
3c4e0d6712
commit
d01c687f27
@ -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…
Reference in New Issue
Block a user