mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 06:01:51 +00:00
chore(server): Add 'go vet' to build process
This commit is contained in:
parent
c9586e23dd
commit
9d7963a8d4
|
@ -21,6 +21,14 @@ buildGoPackage {
|
|||
|
||||
goPackagePath = "github.com/google/nixery";
|
||||
|
||||
# Enable checks and configure check-phase to include vet:
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
for pkg in $(getGoDirs ""); do
|
||||
buildGoDir vet "$pkg"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Container image builder serving Nix-backed images";
|
||||
homepage = "https://github.com/google/nixery";
|
||||
|
|
Loading…
Reference in New Issue
Block a user