Skip to content

Commit 8c30050

Browse files
committed
Use fmt.Printf() instead of log.Printf() for final instructions
1 parent 50e59ed commit 8c30050

File tree

1 file changed

+29
-28
lines changed

1 file changed

+29
-28
lines changed

make.go

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -792,37 +792,38 @@ func execMake(args []string, usage func()) {
792792
log.Fatalf("Could not write ITP email: %v\n", err)
793793
}
794794

795-
log.Printf("\n")
796-
log.Printf("Packaging successfully created in %s\n", dir)
797-
log.Printf("\n")
798-
log.Printf(" Source: %s\n", debsrc)
795+
log.Println("Done!")
796+
797+
fmt.Printf("\n")
798+
fmt.Printf("Packaging successfully created in %s\n", dir)
799+
fmt.Printf(" Source: %s\n", debsrc)
799800
switch pkgType {
800801
case typeLibrary:
801-
log.Printf(" Package: %s\n", debLib)
802+
fmt.Printf(" Binary: %s\n", debLib)
802803
case typeProgram:
803-
log.Printf(" Package: %s\n", debProg)
804+
fmt.Printf(" Binary: %s\n", debProg)
804805
case typeLibraryProgram:
805-
log.Printf(" Package: %s\n", debLib)
806-
log.Printf(" Package: %s\n", debProg)
806+
fmt.Printf(" Binary: %s\n", debLib)
807+
fmt.Printf(" Binary: %s\n", debProg)
807808
case typeProgramLibrary:
808-
log.Printf(" Package: %s\n", debProg)
809-
log.Printf(" Package: %s\n", debLib)
810-
}
811-
log.Printf("\n")
812-
log.Printf("Resolve all TODOs in %s, then email it out:\n", itpname)
813-
log.Printf(" sendmail -t < %s\n", itpname)
814-
log.Printf("\n")
815-
log.Printf("Resolve all the TODOs in debian/, find them using:\n")
816-
log.Printf(" grep -r TODO debian\n")
817-
log.Printf("\n")
818-
log.Printf("To build the package, commit the packaging and use gbp buildpackage:\n")
819-
log.Printf(" git add debian && git commit -a -m 'Initial packaging'\n")
820-
log.Printf(" gbp buildpackage --git-pbuilder\n")
821-
log.Printf("\n")
822-
log.Printf("To create the packaging git repository on salsa, use:\n")
823-
log.Printf(" dh-make-golang create-salsa-project %s", debsrc)
824-
log.Printf("\n")
825-
log.Printf("Once you are happy with your packaging, push it to salsa using:\n")
826-
log.Printf(" git remote set-url origin [email protected]:go-team/packages/%s.git\n", debsrc)
827-
log.Printf(" gbp push\n")
809+
fmt.Printf(" Binary: %s\n", debProg)
810+
fmt.Printf(" Binary: %s\n", debLib)
811+
}
812+
fmt.Printf("\n")
813+
fmt.Printf("Resolve all TODOs in %s, then email it out:\n", itpname)
814+
fmt.Printf(" sendmail -t < %s\n", itpname)
815+
fmt.Printf("\n")
816+
fmt.Printf("Resolve all the TODOs in debian/, find them using:\n")
817+
fmt.Printf(" grep -r TODO debian\n")
818+
fmt.Printf("\n")
819+
fmt.Printf("To build the package, commit the packaging and use gbp buildpackage:\n")
820+
fmt.Printf(" git add debian && git commit -a -m 'Initial packaging'\n")
821+
fmt.Printf(" gbp buildpackage --git-pbuilder\n")
822+
fmt.Printf("\n")
823+
fmt.Printf("To create the packaging git repository on salsa, use:\n")
824+
fmt.Printf(" dh-make-golang create-salsa-project %s\n", debsrc)
825+
fmt.Printf("\n")
826+
fmt.Printf("Once you are happy with your packaging, push it to salsa using:\n")
827+
fmt.Printf(" git remote set-url origin [email protected]:go-team/packages/%s.git\n", debsrc)
828+
fmt.Printf(" gbp push\n")
828829
}

0 commit comments

Comments
 (0)