Просмотр исходного кода

build: Use purego tags on 'all' target

Jakob Borg 9 лет назад
Родитель
Сommit
0e996c4664
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      build.go

+ 1 - 0
build.go

@@ -61,6 +61,7 @@ var targets = map[string]target{
 		// Only valid for the "build" and "install" commands as it lacks all
 		// the archive creation stuff.
 		buildPkg: "./cmd/...",
+		tags:     []string{"purego"},
 	},
 	"syncthing": {
 		// The default target for "build", "install", "tar", "zip", "deb", etc.