mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Move go code to a more common directory.
This commit is contained in:
parent
127b8b98ca
commit
8fc279fa27
@ -28,7 +28,7 @@ golangci-lint:
|
||||
stage: lint
|
||||
image: golangci/golangci-lint
|
||||
script:
|
||||
- cd src && golangci-lint run
|
||||
- golangci-lint run
|
||||
|
||||
goreport:
|
||||
stage: lint
|
||||
|
4
PKGBUILD
4
PKGBUILD
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user