allow building just changed packages
This commit is contained in:
parent
3ff6dae849
commit
0a1cb978e8
1
argv.go
1
argv.go
|
@ -13,6 +13,7 @@ type args struct {
|
|||
Minor bool `arg:"--minor" help:"increment minor verion numbers"`
|
||||
Protobuf bool `arg:"--protobuf" help:"increment protobuf repos"`
|
||||
Verbose bool `arg:"--verbose" help:"talk alot"`
|
||||
Full bool `arg:"--full" help:"build every package"`
|
||||
Reason string `arg:"--reason" help:"tag message"`
|
||||
// DumpVersions bool `arg:"--dump-versions" help:"dump the versions file for go.wit.com"`
|
||||
Port int `arg:"--port" default:"9419" help:"do fun stuff with curl"`
|
||||
|
|
|
@ -125,7 +125,11 @@ func findNext() bool {
|
|||
log.Info("cd", wit.GetFullPath())
|
||||
os.Chdir(wit.GetFullPath())
|
||||
shell.Exec([]string{"ls", "-l"})
|
||||
shell.Exec([]string{"make", "debian-release-force"})
|
||||
if argv.Full {
|
||||
shell.Exec([]string{"make", "debian-release-force"})
|
||||
} else {
|
||||
shell.Exec([]string{"make", "debian-release"})
|
||||
}
|
||||
}
|
||||
okExit("")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue