Only compile the sensors plugin if the 'sensors' tag is set

This commit is contained in:
Cameron Sparr 2016-01-15 13:15:33 -07:00
parent 963a9429dd
commit 50334e6bac
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// +build linux // +build linux,sensors
package sensors package sensors

View File

@ -0,0 +1,3 @@
// +build !linux !sensors
package sensors

View File

@ -1,3 +0,0 @@
// +build !linux
package sensors