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
Failed to generate hash of commit
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