mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
切换包管理工具并升级依赖包
This commit is contained in:
parent
b01082a143
commit
90a7f38bd9
@ -12,9 +12,9 @@ before_install:
|
||||
- go get github.com/go-sql-driver/mysql
|
||||
- go get github.com/golang/freetype
|
||||
- go get -u gopkg.in/russross/blackfriday.v2
|
||||
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
|
||||
script:
|
||||
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
- dep ensure -v
|
||||
- GO_ENABLED=1 go build -v -x -tags "pam" && go install
|
||||
|
||||
|
10
appveyor.yml
10
appveyor.yml
@ -27,6 +27,16 @@ install:
|
||||
Start-FileDownload "http://libgd.blob.core.windows.net/mingw/i686-4.9.1-release-posix-dwarf-rt_v3-rev1.7z" -FileName mingw_x86.7z;
|
||||
7z x -oC:\ mingw_x86.7z | out-null;
|
||||
}
|
||||
- ps: if($env:tbs_arch -eq 'x86')
|
||||
{
|
||||
Start-FileDownload https://github.com/golang/dep/releases/download/v0.4.1/dep-windows-386.exe;
|
||||
copy dep-windows-386.exe c:\go\bin\dep.exe;
|
||||
}
|
||||
- ps: if($evn:tab_arch -eq 'x64')
|
||||
{
|
||||
Start-FileDownload https://github.com/golang/dep/releases/download/v0.4.1/dep-windows-amd64.exe;
|
||||
copy dep-windows-amd64.exe c:\go\bin\dep.exe;
|
||||
}
|
||||
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
||||
- echo %PATH%
|
||||
- echo %GOPATH%
|
||||
|
Loading…
Reference in New Issue
Block a user