try a build script for go-gui-toolkit package
This commit is contained in:
parent
38b1ecab60
commit
cbe33ab5fe
3
Makefile
3
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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue