Skip to content

Commit

Permalink
scripts: Use source file from vendor for mock generation
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas authored and arekkas committed Mar 14, 2018
1 parent 9c2cc89 commit 42517c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-mock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -euo pipefail

cd "$( dirname "${BASH_SOURCE[0]}" )/.."

mockgen -package evaluator -destination evaluator/hydra_sdk_mock.go github.com/ory/hydra/sdk/go/hydra SDK
mockgen -package evaluator -destination evaluator/hydra_sdk_mock.go -source ./vendor/github.com/ory/hydra/sdk/go/hydra/sdk_api.go SDK

0 comments on commit 42517c6

Please sign in to comment.