From c8cb0095a1f0c21d2a2c6f44b513850ab0037428 Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Mon, 11 May 2020 14:58:47 +0200 Subject: [PATCH] Added generation for embedding resources. --- .gitignore | 2 ++ cmd/tins2020/tins2020.go | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index ba698c7..a47f791 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .vscode/launch.json + +cmd/tins2020/*rice-box.* diff --git a/cmd/tins2020/tins2020.go b/cmd/tins2020/tins2020.go index 48bb930..017f199 100644 --- a/cmd/tins2020/tins2020.go +++ b/cmd/tins2020/tins2020.go @@ -9,6 +9,9 @@ import ( "opslag.de/schobers/tins2020" ) +//go:generate go get -u github.com/GeertJohan/go.rice/rice +//go:generate rice embed-syso + func main() { err := run() if err != nil {