From 5bdf366028f80f7e243c18a928c0fcbf06fba8e2 Mon Sep 17 00:00:00 2001 From: Peter Waller Date: Sun, 24 Nov 2019 21:06:12 +0000 Subject: [PATCH] Add dummy.go to glfw source directory This allows "go mod vendor" to copy the files out of the tree, where otherwise they would be ignored. Fixes #251. --- v3.1/glfw/glfw/deps/EGL/dummy.go | 4 ++++ v3.1/glfw/glfw/deps/GL/dummy.go | 4 ++++ v3.1/glfw/glfw/deps/KHR/dummy.go | 4 ++++ v3.1/glfw/glfw/deps/dummy.go | 4 ++++ v3.1/glfw/glfw/deps/glad/dummy.go | 4 ++++ v3.1/glfw/glfw/include/GLFW/dummy.go | 4 ++++ v3.1/glfw/glfw/include/dummy.go | 4 ++++ v3.1/glfw/glfw/src/dummy.go | 4 ++++ v3.2/glfw/glfw/deps/KHR/dummy.go | 4 ++++ v3.2/glfw/glfw/deps/dummy.go | 4 ++++ v3.2/glfw/glfw/deps/glad/dummy.go | 4 ++++ v3.2/glfw/glfw/deps/mingw/dummy.go | 4 ++++ v3.2/glfw/glfw/deps/vulkan/dummy.go | 4 ++++ v3.2/glfw/glfw/include/GLFW/dummy.go | 4 ++++ v3.2/glfw/glfw/include/dummy.go | 4 ++++ v3.2/glfw/glfw/src/dummy.go | 4 ++++ v3.3/glfw/glfw/deps/dummy.go | 4 ++++ v3.3/glfw/glfw/deps/glad/dummy.go | 4 ++++ v3.3/glfw/glfw/deps/mingw/dummy.go | 4 ++++ v3.3/glfw/glfw/deps/vs2008/dummy.go | 4 ++++ v3.3/glfw/glfw/include/GLFW/dummy.go | 4 ++++ v3.3/glfw/glfw/include/dummy.go | 4 ++++ v3.3/glfw/glfw/src/dummy.go | 4 ++++ 23 files changed, 92 insertions(+) create mode 100644 v3.1/glfw/glfw/deps/EGL/dummy.go create mode 100644 v3.1/glfw/glfw/deps/GL/dummy.go create mode 100644 v3.1/glfw/glfw/deps/KHR/dummy.go create mode 100644 v3.1/glfw/glfw/deps/dummy.go create mode 100644 v3.1/glfw/glfw/deps/glad/dummy.go create mode 100644 v3.1/glfw/glfw/include/GLFW/dummy.go create mode 100644 v3.1/glfw/glfw/include/dummy.go create mode 100644 v3.1/glfw/glfw/src/dummy.go create mode 100644 v3.2/glfw/glfw/deps/KHR/dummy.go create mode 100644 v3.2/glfw/glfw/deps/dummy.go create mode 100644 v3.2/glfw/glfw/deps/glad/dummy.go create mode 100644 v3.2/glfw/glfw/deps/mingw/dummy.go create mode 100644 v3.2/glfw/glfw/deps/vulkan/dummy.go create mode 100644 v3.2/glfw/glfw/include/GLFW/dummy.go create mode 100644 v3.2/glfw/glfw/include/dummy.go create mode 100644 v3.2/glfw/glfw/src/dummy.go create mode 100644 v3.3/glfw/glfw/deps/dummy.go create mode 100644 v3.3/glfw/glfw/deps/glad/dummy.go create mode 100644 v3.3/glfw/glfw/deps/mingw/dummy.go create mode 100644 v3.3/glfw/glfw/deps/vs2008/dummy.go create mode 100644 v3.3/glfw/glfw/include/GLFW/dummy.go create mode 100644 v3.3/glfw/glfw/include/dummy.go create mode 100644 v3.3/glfw/glfw/src/dummy.go diff --git a/v3.1/glfw/glfw/deps/EGL/dummy.go b/v3.1/glfw/glfw/deps/EGL/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.1/glfw/glfw/deps/EGL/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.1/glfw/glfw/deps/GL/dummy.go b/v3.1/glfw/glfw/deps/GL/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.1/glfw/glfw/deps/GL/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.1/glfw/glfw/deps/KHR/dummy.go b/v3.1/glfw/glfw/deps/KHR/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.1/glfw/glfw/deps/KHR/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.1/glfw/glfw/deps/dummy.go b/v3.1/glfw/glfw/deps/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.1/glfw/glfw/deps/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.1/glfw/glfw/deps/glad/dummy.go b/v3.1/glfw/glfw/deps/glad/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.1/glfw/glfw/deps/glad/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.1/glfw/glfw/include/GLFW/dummy.go b/v3.1/glfw/glfw/include/GLFW/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.1/glfw/glfw/include/GLFW/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.1/glfw/glfw/include/dummy.go b/v3.1/glfw/glfw/include/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.1/glfw/glfw/include/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.1/glfw/glfw/src/dummy.go b/v3.1/glfw/glfw/src/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.1/glfw/glfw/src/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.2/glfw/glfw/deps/KHR/dummy.go b/v3.2/glfw/glfw/deps/KHR/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.2/glfw/glfw/deps/KHR/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.2/glfw/glfw/deps/dummy.go b/v3.2/glfw/glfw/deps/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.2/glfw/glfw/deps/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.2/glfw/glfw/deps/glad/dummy.go b/v3.2/glfw/glfw/deps/glad/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.2/glfw/glfw/deps/glad/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.2/glfw/glfw/deps/mingw/dummy.go b/v3.2/glfw/glfw/deps/mingw/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.2/glfw/glfw/deps/mingw/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.2/glfw/glfw/deps/vulkan/dummy.go b/v3.2/glfw/glfw/deps/vulkan/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.2/glfw/glfw/deps/vulkan/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.2/glfw/glfw/include/GLFW/dummy.go b/v3.2/glfw/glfw/include/GLFW/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.2/glfw/glfw/include/GLFW/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.2/glfw/glfw/include/dummy.go b/v3.2/glfw/glfw/include/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.2/glfw/glfw/include/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.2/glfw/glfw/src/dummy.go b/v3.2/glfw/glfw/src/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.2/glfw/glfw/src/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.3/glfw/glfw/deps/dummy.go b/v3.3/glfw/glfw/deps/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.3/glfw/glfw/deps/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.3/glfw/glfw/deps/glad/dummy.go b/v3.3/glfw/glfw/deps/glad/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.3/glfw/glfw/deps/glad/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.3/glfw/glfw/deps/mingw/dummy.go b/v3.3/glfw/glfw/deps/mingw/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.3/glfw/glfw/deps/mingw/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.3/glfw/glfw/deps/vs2008/dummy.go b/v3.3/glfw/glfw/deps/vs2008/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.3/glfw/glfw/deps/vs2008/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.3/glfw/glfw/include/GLFW/dummy.go b/v3.3/glfw/glfw/include/GLFW/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.3/glfw/glfw/include/GLFW/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.3/glfw/glfw/include/dummy.go b/v3.3/glfw/glfw/include/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.3/glfw/glfw/include/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251 diff --git a/v3.3/glfw/glfw/src/dummy.go b/v3.3/glfw/glfw/src/dummy.go new file mode 100644 index 000000000..d1946a9eb --- /dev/null +++ b/v3.3/glfw/glfw/src/dummy.go @@ -0,0 +1,4 @@ +//+build ignore + +package dummy +// This package exists to support go mod vendor. See #251