summaryrefslogtreecommitdiff
path: root/cmd/rescribe/embed_other.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-06-21 18:04:33 +0100
committerNick White <git@njw.name>2021-06-21 18:11:35 +0100
commite1cbbad8b536e3fac4b236d81fa43b9ff3d6ccff (patch)
tree4b616e8ae2ee49f649c7a815ae7cd153c4a85d62 /cmd/rescribe/embed_other.go
parentee9c0f92067e3d203bd86958e9537cb1e5a0d80d (diff)
rescribe: Set up so only Tesseract needed for the build platform is embedded
Diffstat (limited to 'cmd/rescribe/embed_other.go')
-rw-r--r--cmd/rescribe/embed_other.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd/rescribe/embed_other.go b/cmd/rescribe/embed_other.go
new file mode 100644
index 0000000..fe51fd0
--- /dev/null
+++ b/cmd/rescribe/embed_other.go
@@ -0,0 +1,13 @@
+// Copyright 2021 Nick White.
+// Use of this source code is governed by the GPLv3
+// license that can be found in the LICENSE file.
+
+// +build !darwin
+// +build !linux
+// +build !windows
+
+package main
+
+// if not one of the above platforms, we won't embed anything, so
+// just create an empty byte slice
+var tesszip []byte