Skip to content

Commit

Permalink
Merge 081e56a into 91b2ca4
Browse files Browse the repository at this point in the history
  • Loading branch information
e1Ru1o committed Feb 3, 2020
2 parents 91b2ca4 + 081e56a commit 4933648
Show file tree
Hide file tree
Showing 18 changed files with 2,453 additions and 166 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,13 @@ clean-build: ## Remove temporary files

clean: clean-test clean-build ## Remove temporary files

gen-mocks: ## Generate mocks for interface types
gen-mocks-core: ## Generate mocks for core interface types
mockery -all -output src/coin/mocks -outpkg mocks -dir src/core
find src/coin/mocks/ -name '*.go' -type f -print0 | xargs -0 -I PATH sed -i '' -e 's/fibercryptowallet/fibercryptowallet/g' PATH

gen-mocks-sky: ## Generate mocks for internal Skycoin types
mockery -all -output src/coin/skycoin/skymocks -outpkg skymocks -dir src/coin/skycoin/skytypes

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

$(COVERAGEFILE):
echo 'mode: set' > $(COVERAGEFILE)
Expand Down
227 changes: 227 additions & 0 deletions src/coin/mocks/AddressBook.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 84 additions & 0 deletions src/coin/mocks/Contact.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4933648

Please sign in to comment.