try a build script for go-gui-toolkit package

This commit is contained in:
Jeff Carr 2024-02-21 15:26:03 -06:00
parent 38b1ecab60
commit cbe33ab5fe
2 changed files with 9 additions and 0 deletions

View File

@ -47,6 +47,9 @@ debian:
mirrors: mirrors:
-wit mirrors -wit mirrors
build-go-gui-toolkits:
./go-deb --no-gui --repo go.wit.com/apps/go-gui-toolkits
build-all: build-all:
go-deb --no-gui --repo go.wit.com/apps/autotypist go-deb --no-gui --repo go.wit.com/apps/autotypist
go-deb --no-gui --repo go.wit.com/apps/control-panel-digitalocean go-deb --no-gui --repo go.wit.com/apps/control-panel-digitalocean

View File

@ -161,7 +161,13 @@ func (c *controlBox) buildPackage() bool {
return false return false
} }
// experiment for the toolkit package
if c.status.Exists("build") {
shell.Run([]string{"./build"})
}
fulldebname := filepath.Join(homeDir, "incoming", debname) fulldebname := filepath.Join(homeDir, "incoming", debname)
shell.Run([]string{"dpkg-deb", "--build", "files", fulldebname}) shell.Run([]string{"dpkg-deb", "--build", "files", fulldebname})
if shell.Exists(fulldebname) { if shell.Exists(fulldebname) {
log.Warn("build worked") log.Warn("build worked")