Skip to content

Commit

Permalink
Partially fix build-mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMahe committed Jan 14, 2019
1 parent ba3ab8b commit 94e5854
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/build-mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@
# make sure script is running inside mesg/tools container.
source $(dirname $0)/require-mesg-tools.sh

# TODO: NEED TO FIX

# navigate to core repo.
cd $GOPATH/src/github.com/mesg-foundation/core

# generate mocks for container package.
mockery -name=Container -dir ./container -output ./container/mocks

# generate mocks for docker.CommonAPIClient that used by container package.
mockery -name CommonAPIClient -dir ./vendor/github.com/docker/docker/client -output ./utils/docker/mocks
# TODO: to fix
# mockery -name CommonAPIClient -dir ./vendor/github.com/docker/docker/client -output ./utils/docker/mocks

# generate mocks for database package.
mockery -name=ServiceDB -dir ./database -output ./database/mocks
Expand Down

0 comments on commit 94e5854

Please sign in to comment.