Skip to content

Commit

Permalink
generate mocks from Makefile ref fibercrypto#139
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevAlDen committed Oct 14, 2019
1 parent 469135a commit 9aebbca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ rcc__*
# Temporary build files
rcc_cgo_*.go

mocks/
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ build: ## Build FiberCrypto Wallet.
@qtdeploy build desktop
@echo "Done."

mocks: ## Create all mock files for unit tests
mockery -name Devicer -dir ./vendor/github.com/skycoin/hardware-wallet-go/src/skywallet -output ./src/hardware/mocks -case underscore
mockery -name DeviceDriver -dir ./vendor/github.com/skycoin/hardware-wallet-go/src/skywallet -output ./src/hardware/mocks -case underscore


clean: ## Clean project FiberCrypto Wallet.
@echo "Cleaning project FiberCrypto Wallet..."
rm -rf deploy/
Expand Down

0 comments on commit 9aebbca

Please sign in to comment.