@@ -11,7 +11,10 @@ import (
11
11
)
12
12
13
13
func writeTemplates (dir , gopkg , debsrc , debLib , debProg , debversion string ,
14
- pkgType packageType , dependencies []string , u * upstream , dep14 , pristineTar bool ) error {
14
+ pkgType packageType , dependencies []string , u * upstream ,
15
+ dep14 , pristineTar bool ,
16
+ ) error {
17
+
15
18
if err := os .Mkdir (filepath .Join (dir , "debian" ), 0755 ); err != nil {
16
19
return err
17
20
}
@@ -31,21 +34,26 @@ func writeTemplates(dir, gopkg, debsrc, debLib, debProg, debversion string,
31
34
if err := writeDebianRules (dir , pkgType ); err != nil {
32
35
return err
33
36
}
34
- if err := writeDebianSourceFormat (dir ); err != nil {
37
+
38
+ if err := writeDebianWatch (dir , gopkg , debsrc , u .hasRelease ); err != nil {
35
39
return err
36
40
}
37
- if err := writeDebianGbpConf (dir , dep14 , pristineTar ); err != nil {
41
+
42
+ if err := writeDebianSourceFormat (dir ); err != nil {
38
43
return err
39
44
}
40
- if err := writeDebianWatch (dir , gopkg , debsrc , u . hasRelease ); err != nil {
45
+ if err := writeDebianPackageInstall (dir , debLib , debProg , pkgType ); err != nil {
41
46
return err
42
47
}
43
- if err := writeDebianPackageInstall (dir , debLib , debProg , pkgType ); err != nil {
48
+
49
+ if err := writeDebianGbpConf (dir , dep14 , pristineTar ); err != nil {
44
50
return err
45
51
}
52
+
46
53
if err := writeDebianGitLabCI (dir ); err != nil {
47
54
return err
48
55
}
56
+
49
57
return nil
50
58
}
51
59
0 commit comments