From 811601e4b446b1c598af965b74155f7f76ffb7e9 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 27 Oct 2022 16:27:55 +0100 Subject: Allow completely non-embedded builds This enables installs straight from 'go install' or 'fyne install'. It also means warning if a system getgbook isn't found, and erroring if tesseract isn't found (as was done already). The location of getgbook can therefore now be specified on the command line. Embedded builds are enabled with the -tags embed flag, which the makefile sets for all builds. --- cmd/rescribe/embed_darwin_amd64.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/rescribe/embed_darwin_amd64.go') diff --git a/cmd/rescribe/embed_darwin_amd64.go b/cmd/rescribe/embed_darwin_amd64.go index 719c9cc..1f7f8c2 100644 --- a/cmd/rescribe/embed_darwin_amd64.go +++ b/cmd/rescribe/embed_darwin_amd64.go @@ -2,6 +2,8 @@ // Use of this source code is governed by the GPLv3 // license that can be found in the LICENSE file. +//go:build embed + package main import _ "embed" -- cgit v1.2.1-24-ge1ad