From de05e5816869073600ae8e851093b4b9a9d7fab0 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 18 Jan 2021 13:20:32 +0100 Subject: ginkgo: install on demand via `go get -u` Install ginkgo on demand via `go get -u` rather than keeping a copy it's entire source code in the vendor dirctory. The main motivation for that is to make `golangci-lint` happy which is continuously throwing up on the import of a program (i.e., ginkgo). The linter is broken and stupid as it ignores flags to ignore dirs and ignores build tags (at least some linters do) which is blocking us from updating to newer versions. Signed-off-by: Valentin Rothberg --- vendor/golang.org/x/sys/unix/ptrace_darwin.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vendor/golang.org/x/sys/unix/ptrace_darwin.go (limited to 'vendor/golang.org/x/sys/unix/ptrace_darwin.go') diff --git a/vendor/golang.org/x/sys/unix/ptrace_darwin.go b/vendor/golang.org/x/sys/unix/ptrace_darwin.go new file mode 100644 index 000000000..fc568b540 --- /dev/null +++ b/vendor/golang.org/x/sys/unix/ptrace_darwin.go @@ -0,0 +1,11 @@ +// Copyright 2020 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build darwin,!ios + +package unix + +func ptrace(request int, pid int, addr uintptr, data uintptr) error { + return ptrace1(request, pid, addr, data) +} -- cgit v1.2.3-54-g00ecf