mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
1、修复项目内容搜索无法查看的BUG
2、新增以服务的方式启动
This commit is contained in:
@@ -38,10 +38,10 @@ build_script:
|
||||
- if [%tbs_tools%]==[mingw] if [%tbs_arch%]==[x64] SET PATH=C:\mingw64\bin;%PATH%
|
||||
- set CGO_ENABLED=1
|
||||
- go build -v -o "godoc_windows_%GOARCH%.exe" -ldflags="-w -X github.com/lifei6671/godoc/conf.VERSION=%APPVEYOR_REPO_TAG_NAME% -X 'github.com/lifei6671/godoc/conf.BUILD_TIME=`date`' -X 'conf.GO_VERSION=`github.com/lifei6671/godoc/go version`'"
|
||||
- 7z a -t7z -r godoc_windows_%GOARCH%.7z conf/*.conf* static/* godoc_windows_%GOARCH%.exe views/* database/* logs/* uploads/*
|
||||
- 7z a -t7z -r godoc_windows_%GOARCH%.7z conf/*.conf* static/* godoc_windows_%GOARCH%.exe views/* uploads/*
|
||||
test_script:
|
||||
- godoc_windows_%GOARCH%.exe version
|
||||
- dir
|
||||
- if [%tbs_arch%]==[x86] godoc_windows_386.exe version
|
||||
- if [%tbs_arch%]==[x64] godoc_windows_amd64.exe version
|
||||
|
||||
notifications:
|
||||
- provider: Email
|
||||
|
||||
Reference in New Issue
Block a user