summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-14 18:40:55 -0600
committerJeff Carr <[email protected]>2025-02-14 18:40:55 -0600
commit10f53c5f178e2303b7d3b011c1f9afbdc8c1c63e (patch)
tree01c42eca3d4ab53564afc620cd0ac03c52722561 /main.go
parent7d4bb336b3cecec23e611ef420a7052f955200ad (diff)
general work on 'Build()'
Diffstat (limited to 'main.go')
-rw-r--r--main.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/main.go b/main.go
index 0100a9d..82c4897 100644
--- a/main.go
+++ b/main.go
@@ -85,6 +85,20 @@ func main() {
okExit("")
}
+ if argv.Build != "" {
+ if err := doBuild(); err != nil {
+ badExit(err)
+ }
+ okExit("")
+ }
+
+ if argv.Install != "" {
+ if err := doInstall(); err != nil {
+ badExit(err)
+ }
+ okExit("")
+ }
+
if argv.Clean != nil {
if argv.Clean.Repo != "" {
log.Info("only looking at repo:", argv.Clean.Repo)