You've already forked mpbot-github
mirror of
https://github.com/macports/mpbot-github.git
synced 2026-03-31 14:46:03 -07:00
24 lines
386 B
Go
24 lines
386 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/macports/mpbot-github/ci"
|
|
"github.com/macports/mpbot-github/ci/logger"
|
|
)
|
|
|
|
// Entry point of the CI bot
|
|
func main() {
|
|
session, err := ci.NewSession()
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
err = session.Run()
|
|
// Signal the logger to exit
|
|
logger.GlobalLogger.LogChan <- nil
|
|
logger.GlobalLogger.Wait()
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|