Skip to content

Commit

Permalink
fix mocks generation rule ref fibercrypto#139
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevAlDen committed Mar 4, 2020
1 parent 7dcd440 commit 7005f40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,11 @@ clean-build: ## Remove temporary files
clean: clean-test clean-build ## Remove temporary files

gen-mocks-core: ## Generate mocks for core interface types
mockery -all -output src/coin/mocks -outpkg mocks -dir src/core

gen-mocks-sky: ## Generate mocks for sky-wallet interface types
mockery -name Devicer -dir ./vendor/github.com/fibercrypto/skywallet-go/src/skywallet -output ./src/contrib/skywallet/mocks -case underscore
mockery -name DeviceDriver -dir ./vendor/github.com/fibercrypto/skywallet-go/src/skywallet -output ./src/contrib/skywallet/mocks -case underscore
mockery -all -output src/coin/mocks -outpkg mocks -dir src/core

gen-mocks: gen-mocks-core gen-mocks-sky ## Generate mocks for interface types

Expand Down

0 comments on commit 7005f40

Please sign in to comment.