put groupme and mautrix repos in a different place

This commit is contained in:
Annie Elequin 2021-09-16 12:30:02 -04:00
parent e07c8ecd0e
commit 6efbc3860e
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ stages:
- export GOPATH="$CI_PROJECT_DIR/.cache"
- export GOCACHE="$CI_PROJECT_DIR/.cache/build"
- export GO_LDFLAGS="-linkmode external -extldflags -static -X main.Tag=$CI_COMMIT_TAG -X main.Commit=$CI_COMMIT_SHA -X 'main.BuildTime=`date '+%b %_d %Y, %H:%M:%S'`'"
- git clone https://github.com/karmanyaahm/groupme.git ../groupme
- git clone https://github.com/karmanyaahm/mautrix-go.git ../mautrix
- git clone https://github.com/karmanyaahm/groupme.git ./groupme
- git clone https://github.com/karmanyaahm/mautrix-go.git ./mautrix
script:
- go build -ldflags "$GO_LDFLAGS" -o mautrix-whatsapp
artifacts:

4
go.mod
View File

@ -29,6 +29,6 @@ require (
maunium.net/go/mautrix v0.8.2
)
replace maunium.net/go/mautrix => ../mautrix
replace maunium.net/go/mautrix => ./mautrix
replace github.com/karmanyaahm/groupme => ../groupme
replace github.com/karmanyaahm/groupme => ./groupme