Compare commits
No commits in common. "975d38192d73f55846242b0e03f53a63118522d4" and "6a761c4655d07e89e1e3724be9761b6fd2511fd2" have entirely different histories.
975d38192d
...
6a761c4655
|
@ -14,12 +14,3 @@
|
||||||
[submodule "vendor/github.com/patrickmn/go-cache"]
|
[submodule "vendor/github.com/patrickmn/go-cache"]
|
||||||
path = vendor/github.com/patrickmn/go-cache
|
path = vendor/github.com/patrickmn/go-cache
|
||||||
url = https://github.com/patrickmn/go-cache.git
|
url = https://github.com/patrickmn/go-cache.git
|
||||||
[submodule "vendor/github.com/dustin/go-humanize"]
|
|
||||||
path = vendor/github.com/dustin/go-humanize
|
|
||||||
url = https://github.com/dustin/go-humanize.git
|
|
||||||
[submodule "vendor/github.com/olekukonko/tablewriter"]
|
|
||||||
path = vendor/github.com/olekukonko/tablewriter
|
|
||||||
url = https://github.com/olekukonko/tablewriter.git
|
|
||||||
[submodule "vendor/github.com/alecthomas/kingpin"]
|
|
||||||
path = vendor/github.com/alecthomas/kingpin
|
|
||||||
url = https://github.com/alecthomas/kingpin.git
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ FROM golang:1.10 AS builder
|
||||||
RUN mkdir -p /go/src/app
|
RUN mkdir -p /go/src/app
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
ARG ROOT_IMPORT_PATH=git.icedream.tech/icedream/soccer-bot
|
ARG ROOT_IMPORT_PATH=github.com/icedream/embot
|
||||||
COPY . /go/src/app
|
COPY . /go/src/app
|
||||||
RUN \
|
RUN \
|
||||||
mkdir -p "$GOPATH/src/$(dirname "$ROOT_IMPORT_PATH")" &&\
|
mkdir -p "$GOPATH/src/$(dirname "$ROOT_IMPORT_PATH")" &&\
|
||||||
|
@ -13,5 +13,5 @@ RUN \
|
||||||
###
|
###
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=builder /soccer-bot /
|
COPY --from=builder /soccerbot /
|
||||||
ENTRYPOINT ["/soccer-bot"]
|
ENTRYPOINT ["/soccerbot"]
|
||||||
|
|
2
main.go
2
main.go
|
@ -12,11 +12,11 @@ import (
|
||||||
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/alecthomas/kingpin"
|
|
||||||
"github.com/dustin/go-humanize"
|
"github.com/dustin/go-humanize"
|
||||||
"github.com/icedream/go-footballdata"
|
"github.com/icedream/go-footballdata"
|
||||||
"github.com/olekukonko/tablewriter"
|
"github.com/olekukonko/tablewriter"
|
||||||
"github.com/thoj/go-ircevent"
|
"github.com/thoj/go-ircevent"
|
||||||
|
"gopkg.in/alecthomas/kingpin.v2"
|
||||||
|
|
||||||
"git.icedream.tech/icedream/soccer-bot/antispam"
|
"git.icedream.tech/icedream/soccer-bot/antispam"
|
||||||
"git.icedream.tech/icedream/soccer-bot/manager"
|
"git.icedream.tech/icedream/soccer-bot/manager"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit a39589180ebd6bbf43076e514b55f20a95d43086
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 02af3965c54e8cacf948b97fef38925c4120652c
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit d4647c9c7a84d847478d890b816b7d8b62b0b279
|
|
Loading…
Reference in New Issue