mirror of
https://github.com/goreleaser/nfpm.git
synced 2026-06-19 08:05:04 +00:00
feat: wip: rpm: dedup testdata
This commit is contained in:
+2
-2
@@ -24,8 +24,8 @@ func TestDeb(t *testing.T) {
|
||||
Homepage: "http://carlosbecker.com",
|
||||
Vendor: "nope",
|
||||
Files: map[string]string{
|
||||
"./testdata/fake": "/usr/local/bin/fake",
|
||||
"./testdata/whatever.conf": "/etc/fake/fake.conf",
|
||||
"../testdata/fake": "/usr/local/bin/fake",
|
||||
"../testdata/whatever.conf": "/etc/fake/fake.conf",
|
||||
},
|
||||
},
|
||||
ioutil.Discard,
|
||||
|
||||
+2
-2
@@ -28,10 +28,10 @@ func TestRPM(t *testing.T) {
|
||||
Vendor: "nope",
|
||||
License: "MIT",
|
||||
Files: map[string]string{
|
||||
"./testdata/fake": "/usr/local/bin/fake",
|
||||
"../testdata/fake": "/usr/local/bin/fake",
|
||||
},
|
||||
ConfigFiles: map[string]string{
|
||||
"./testdata/whatever.conf": "/etc/fake/fake.conf",
|
||||
"../testdata/whatever.conf": "/etc/fake/fake.conf",
|
||||
},
|
||||
},
|
||||
f,
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
package main
|
||||
|
||||
func main() {
|
||||
println("fake linux binary")
|
||||
}
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
foo=bar
|
||||
Reference in New Issue
Block a user