Move go code to a more common directory.

This commit is contained in:
Alexandre Pujol 2021-11-23 20:20:06 +00:00
parent 127b8b98ca
commit 8fc279fa27
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
5 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ golangci-lint:
stage: lint
image: golangci/golangci-lint
script:
- cd src && golangci-lint run
- golangci-lint run
goreport:
stage: lint

View File

@ -24,13 +24,13 @@ prepare() {
}
build() {
cd "$srcdir/$pkgname/src"
cd "$srcdir/$pkgname/"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
go build -o ../.build/ ./cmd/aa-log
go build -o .build/ ./cmd/aa-log
}
package() {

View File

View File