Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save XSAM/f5db70fa541f42055780a4ddeb984e75 to your computer and use it in GitHub Desktop.
Save XSAM/f5db70fa541f42055780a4ddeb984e75 to your computer and use it in GitHub Desktop.
Generate JyBP's mocks
cd $GOPATH/src
mkdir -p github.com/vektra && cd github.com/vektra && git clone https://github.com/corentone/mockery.git
cd mockery && git checkout in-place-differentfolder && make install
# Test
cd $GOPATH/src
mkdir JyBP
git clone https://github.com/JyBP/keeptree.git && cd keeptree
mockery -all -keeptree -output ./cmd/mocks -dir ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment