From 5d769930c0bb8b4bb84548dee74d1f2034c42331 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Tue, 5 Feb 2019 15:56:25 -0500 Subject: [PATCH 1/3] Add build tags to generated packr files Closes #153 --- v2/jam/store/disk_tmpl.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v2/jam/store/disk_tmpl.go b/v2/jam/store/disk_tmpl.go index bc29d48..b852f8d 100644 --- a/v2/jam/store/disk_tmpl.go +++ b/v2/jam/store/disk_tmpl.go @@ -1,6 +1,7 @@ package store -const diskGlobalTmpl = `// Code generated by github.com/gobuffalo/packr/v2. DO NOT EDIT. +const diskGlobalTmpl = `// +build !skip-packr +// Code generated by github.com/gobuffalo/packr/v2. DO NOT EDIT. // You can use the "packr2 clean" command to clean up this, // and any other packr generated files. @@ -31,7 +32,8 @@ var _ = func() error { }() ` -const diskImportTmpl = `// Code generated by github.com/gobuffalo/packr/v2. DO NOT EDIT. +const diskImportTmpl = `// +build !skip-packr +// Code generated by github.com/gobuffalo/packr/v2. DO NOT EDIT. // You can use the "packr clean" command to clean up this, // and any other packr generated files. From adbd42836d01e2ad1f9fa123ee0c18c66af1e722 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Wed, 6 Feb 2019 13:42:02 -0500 Subject: [PATCH 2/3] Update v2/jam/store/disk_tmpl.go Co-Authored-By: techknowlogick --- v2/jam/store/disk_tmpl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/jam/store/disk_tmpl.go b/v2/jam/store/disk_tmpl.go index b852f8d..49f5b2f 100644 --- a/v2/jam/store/disk_tmpl.go +++ b/v2/jam/store/disk_tmpl.go @@ -1,6 +1,6 @@ package store -const diskGlobalTmpl = `// +build !skip-packr +const diskGlobalTmpl = `// +build !skippackr // Code generated by github.com/gobuffalo/packr/v2. DO NOT EDIT. // You can use the "packr2 clean" command to clean up this, From a1404b9933bb927ca160226c2c9feed68f0779ac Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Wed, 6 Feb 2019 13:52:01 -0500 Subject: [PATCH 3/3] Update v2/jam/store/disk_tmpl.go Co-Authored-By: techknowlogick --- v2/jam/store/disk_tmpl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/jam/store/disk_tmpl.go b/v2/jam/store/disk_tmpl.go index 49f5b2f..cae5ba8 100644 --- a/v2/jam/store/disk_tmpl.go +++ b/v2/jam/store/disk_tmpl.go @@ -32,7 +32,7 @@ var _ = func() error { }() ` -const diskImportTmpl = `// +build !skip-packr +const diskImportTmpl = `// +build !skippackr // Code generated by github.com/gobuffalo/packr/v2. DO NOT EDIT. // You can use the "packr clean" command to clean up this,