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

Commit

Permalink
Rewrite import paths for mocks
Browse files Browse the repository at this point in the history
Caused by golang/mock#28

Signed-off-by: Chris Brown <[email protected]>
  • Loading branch information
dpb587-pivotal authored and Chris Brown committed May 6, 2016
1 parent d2161b9 commit e7b17a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/mockgen
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ for srcFile in ${srcFiles[*]}; do
mkdir -p $srcDir/mocks
echo $bin/env mockgen -package mocks -destination $destFile $rootPackage/$package $class
$bin/env mockgen -package mocks -destination $destFile $rootPackage/$package $class
sed -i "" -e "s%github.com/cloudfoundry/bosh-init/vendor/%%" $destFile
$bin/go fmt $destFile
done

0 comments on commit e7b17a6

Please sign in to comment.