Added Build Rule

Add build rule, to only build on Linux platform, reason for adding this: This allows the usage of the logrus package within a Windows based project. Current logrus project fails to import due to the fact the syslog is missing on Windows.
This commit is contained in:
Gert-Jan Timmer 2015-10-27 10:18:45 +01:00
parent 62f85a2e39
commit 6815eb0dbd
1 changed files with 2 additions and 0 deletions
hooks/syslog

View File

@ -1,3 +1,5 @@
// +build !windows,!nacl,!plan9
package logrus_syslog package logrus_syslog
import ( import (