aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--cmd/fscrypt/fscrypt.go5
-rw-r--r--pam_fscrypt/pam_fscrypt.go2
3 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 328f19b..1ec009e 100644
--- a/Makefile
+++ b/Makefile
@@ -142,7 +142,7 @@ format-check:
# Run lint rules (skipping generated files)
.PHONY: lint
lint:
- @go vet $(GO_PKGS)
+ @go tool vet -buildtags=false .
@golint $(GO_PKGS) | grep -v "pb.go" | ./input_fail.py
@megacheck -unused.exported $(GO_PKGS)
diff --git a/cmd/fscrypt/fscrypt.go b/cmd/fscrypt/fscrypt.go
index fe1e0c9..93df341 100644
--- a/cmd/fscrypt/fscrypt.go
+++ b/cmd/fscrypt/fscrypt.go
@@ -19,8 +19,11 @@
*/
/*
-fscrypt is a comprehensive command line tool for managing filesystem encryption.
+fscrypt is a command line tool for managing linux filesystem encryption.
*/
+
+// +build linux,cgo
+
package main
import (
diff --git a/pam_fscrypt/pam_fscrypt.go b/pam_fscrypt/pam_fscrypt.go
index 21bc779..5beb311 100644
--- a/pam_fscrypt/pam_fscrypt.go
+++ b/pam_fscrypt/pam_fscrypt.go
@@ -17,6 +17,8 @@
* the License.
*/
+// +build linux,cgo
+
package main
/*