Browse Source

fix(build): another windows build issue

Torkel Ödegaard 9 years ago
parent
commit
32479503bd
2 changed files with 4 additions and 1 deletions
  1. 1 1
      appveyor.yml
  2. 3 0
      pkg/log/syslog_windows.go

+ 1 - 1
appveyor.yml

@@ -14,7 +14,7 @@ install:
   - npm install
   - npm install -g grunt-cli
   # install gcc (needed for sqlite3)
-  - choco install -y mingw -limitoutput
+  - choco install -y --limit-output mingw
   - set PATH=C:\tools\mingw64\bin;%PATH%
   - echo %PATH%
   - echo %GOPATH%

+ 3 - 0
pkg/log/syslog_windows.go

@@ -17,3 +17,6 @@ func NewSyslog(sec *ini.Section, format log15.Format) *SysLogHandler {
 func (sw *SysLogHandler) Log(r *log15.Record) error {
 	return nil
 }
+
+func (sw *SysLogHandler) Close() {
+}