diff --git a/Makefile b/Makefile index 95801a0..01811f4 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,9 @@ debian: mirrors: -wit mirrors +build-go-gui-toolkits: + ./go-deb --no-gui --repo go.wit.com/apps/go-gui-toolkits + build-all: go-deb --no-gui --repo go.wit.com/apps/autotypist go-deb --no-gui --repo go.wit.com/apps/control-panel-digitalocean diff --git a/stateWindow.go b/stateWindow.go index cb03e01..857d795 100644 --- a/stateWindow.go +++ b/stateWindow.go @@ -161,7 +161,13 @@ func (c *controlBox) buildPackage() bool { return false } + // experiment for the toolkit package + if c.status.Exists("build") { + shell.Run([]string{"./build"}) + } + fulldebname := filepath.Join(homeDir, "incoming", debname) + shell.Run([]string{"dpkg-deb", "--build", "files", fulldebname}) if shell.Exists(fulldebname) { log.Warn("build worked")