Skip to content
This repository was archived by the owner on Jan 5, 2019. It is now read-only.

Commit e7b17a6

Browse files
dpb587-pivotalChris Brown
authored andcommitted
Rewrite import paths for mocks
Caused by golang/mock#28 Signed-off-by: Chris Brown <[email protected]>
1 parent d2161b9 commit e7b17a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/mockgen

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ for srcFile in ${srcFiles[*]}; do
3838
mkdir -p $srcDir/mocks
3939
echo $bin/env mockgen -package mocks -destination $destFile $rootPackage/$package $class
4040
$bin/env mockgen -package mocks -destination $destFile $rootPackage/$package $class
41+
sed -i "" -e "s%github.com/cloudfoundry/bosh-init/vendor/%%" $destFile
4142
$bin/go fmt $destFile
4243
done

0 commit comments

Comments
 (0)