28 lines
487 B
Go
28 lines
487 B
Go
package main
|
|
|
|
// This should build the control panel correctly on each platform
|
|
|
|
// Then, upload the binaries to mirrors.wit.org/cloud/control-panel
|
|
|
|
import "log"
|
|
//import "fmt"
|
|
//import "time"
|
|
//import "os/user"
|
|
|
|
import "git.wit.org/wit/shell"
|
|
import build "git.wit.org/wit/cloud-control-panel-build"
|
|
|
|
var filename string
|
|
|
|
func main() {
|
|
shell.Quiet(false)
|
|
|
|
md5sum := build.Build()
|
|
log.Println("\tmd5sum =", md5sum)
|
|
|
|
if (md5sum == "") {
|
|
log.Println("\tBUILD FAILED")
|
|
return
|
|
}
|
|
}
|