Browse Source

Untitled commit
commit_hash:c6d1f5b06cea8c0ca75f9af045979b13ab3c9fa4

snermolaev 1 week ago
parent
commit
470831e624
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/conf/go.conf

+ 1 - 1
build/conf/go.conf

@@ -1022,5 +1022,5 @@ macro GO_MOCKGEN_MOCKS() {
     PEERDIR(vendor/go.uber.org/mock/gomock)
 
     # Unfortunately ${rootrel;tool:TOOL} doesn't work currently, so we use this ugly workaround $MODDIR/gen/gen$_GO_EXE_SUFFIX
-    RUN_PROGRAM(vendor/go.uber.org/mock/mockgen -package mocks -exec_only $MODDIR/gen/gen$_GO_EXE_SUFFIX ${GO_ARCADIA_PROJECT_PREFIX}${MOCKGEN_FROM} $MOCKGEN_TYPES STDOUT main.go TOOL $MODDIR/gen CWD $ARCADIA_BUILD_ROOT)
+    RUN_PROGRAM(vendor/go.uber.org/mock/mockgen -package mocks -exec_only $MODDIR/gen/gen$_GO_EXE_SUFFIX ${GO_ARCADIA_PROJECT_PREFIX}${MOCKGEN_FROM} $MOCKGEN_TYPES STDOUT main.go TOOL $MODDIR/gen CWD $ARCADIA_BUILD_ROOT ENV PATH=${GO_TOOLS_ROOT}/bin GOROOT=${GO_TOOLS_ROOT} GOCACHE=${BINDIR}/.gocache)
 }