mirror of
https://github.com/luzifer-aur/vault2env.git
synced 2024-12-20 17:01:18 +00:00
Fix: Remove mod-cache after build
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c6143c2011
commit
2daf8a124c
1 changed files with 2 additions and 0 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -17,6 +17,8 @@ build() {
|
||||||
-a -v \
|
-a -v \
|
||||||
-ldflags="-X main.version=${pkgver}" \
|
-ldflags="-X main.version=${pkgver}" \
|
||||||
-mod=readonly
|
-mod=readonly
|
||||||
|
|
||||||
|
GO111MODULE=on GOPATH="${srcdir}/go" go clean -modcache
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in a new issue