hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit c6d69d0c95c42915956c210dbac8b884682d4a3e
parent c3d433af56071d42aeb3f85854bd30db64ed70b8
Author: Anthony Fok <foka@debian.org>
Date:   Thu, 31 Oct 2019 18:04:54 -0600

mage: Skip Test386 on non-AMD64 architectures

This is to allow "mage check" to run on arm64 on Travis CI.

Diffstat:
Mmagefile.go | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/magefile.go b/magefile.go
@@ -134,7 +134,11 @@ func Check() {
 		return
 	}
 
-	mg.Deps(Test386)
+	if runtime.GOARCH == "amd64" {
+		mg.Deps(Test386)
+	} else {
+		fmt.Printf("Skip Test386 on %s\n", runtime.GOARCH)
+	}
 
 	mg.Deps(Fmt, Vet)