might build now?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey Paul 2020-09-08 18:38:55 -07:00
parent 27260f688b
commit aae9f59c2c
3 changed files with 3 additions and 15 deletions

View File

@ -1,16 +1,3 @@
FROM golang:1.15
WORKDIR /go/src/app
copy . .
RUN go get -d -v ./...
RUN go install -v ./...
CMD ["sco"]
FROM golang:1.15 as builder
RUN mkdir /build
ADD . /build/

View File

@ -40,4 +40,4 @@ go-get:
cd cmd/$(FN) && go get -v
./$(FN): */*.go cmd/*/*.go go-get
cd cmd/$(FN) && go build -o ../../$(FN) $(GOFLAGS) . && mv $(FN) ../..
cd cmd/$(FN) && go build -o ../../$(FN) $(GOFLAGS) .

View File

@ -8,10 +8,11 @@ var Buildarch string
func main() {
mybot := bot.New(func(b *bot.Bot) {
b.BotName = "LSV Serious Callers Only"
b.BotName = "lsvsco"
b.Version = Version
b.Buildarch = Buildarch
b.APIURL = os.Getenv("SCO_API_URL")
b.TeamName = os.Getenv("SCO_TEAM_NAME")
b.WebsocketURL = os.Getenv("SCO_WEBSOCKET_URL")
b.DebuggingChannelName = os.Getenv("SCO_DEBUG_CHANNEL")
b.AccountEmail = os.Getenv("SCO_ACCOUNT_EMAIL")