File: 008-dont-install-static-templates.patch

package info (click to toggle)
golang-github-canonical-candid 1.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates
  • size: 2,944 kB
  • sloc: python: 1,840; sh: 248; makefile: 82
file content (14 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From: Mathias Gibbens <mathias@calenhad.com>
Description: Don't install contents of the static/ or templates/ directories, as we don't need them at this time
Forwarded: non-needed
diff --git a/embed.go b/embed.go
index b662d51..82772cf 100644
--- a/embed.go
+++ b/embed.go
@@ -9,6 +9,4 @@ import "embed"
 
 // ResourceFS contains embeded resource files (templates and static
 // content).
-//go:embed static
-//go:embed templates
 var ResourceFS embed.FS