mirror of https://github.com/mindoc-org/mindoc.git
切换包管理工具并升级依赖包
parent
7313ef7209
commit
a7be114c6a
|
@ -11,7 +11,7 @@ before_install:
|
|||
- go get github.com/garyburd/redigo/redis
|
||||
- go get github.com/go-sql-driver/mysql
|
||||
- go get github.com/golang/freetype
|
||||
- go get github.com/russross/blackfriday
|
||||
- go get -u gopkg.in/russross/blackfriday.v2
|
||||
|
||||
script:
|
||||
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
|
|
|
@ -38,7 +38,7 @@ build_script:
|
|||
- if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x64] SET PATH=C:\mingw64\bin;%PATH%
|
||||
- set CGO_ENABLED=1
|
||||
- go get -u github.com/golang/dep/cmd/dep && cd %GOPATH%/src/github.com/golang/dep
|
||||
- for /f "delims=" %%i in ('git describe --abbrev=0 --tags') do (set DEP_LATEST=%%i)
|
||||
- for /f "delims=" %%i in ('git describe') do (set DEP_LATEST=%%i)
|
||||
- go install -ldflags="-X main.version=%DEP_LATEST%" ./cmd/dep
|
||||
- for /f "delims=" %%i in ('go version') do (set GO_VERSION=%%i)
|
||||
- cd c:\gopath\src\github.com\lifei6671\mindoc
|
||||
|
|
Loading…
Reference in New Issue