Skip to content

Commit ebbf98c

Browse files
committed
[FAB-5145] Make building chaincode tutorial easier
While it is possibly implied/required that you should install libtool from the prereqs section and/or also clone the fabric, there is really no need to add this overhead if you simply want to build chaincode. We can use the nopkcs11 build tag to avoid libtool and we can add go get for getting the shim package Change-Id: I96936d11dfaa14e2a85d99506deddbcc8fed4c2a Signed-off-by: Gari Singh <[email protected]>
1 parent ed381a9 commit ebbf98c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/chaincode4ade.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ Now let's compile your chaincode.
364364

365365
.. code:: bash
366366
367-
go build
367+
go get -u --tags nopkcs11 github.com/hyperledger/fabric/core/chaincode/shim
368+
go build --tags nopkcs11
368369
369370
Assuming there are no errors, now we can proceed to the next step, testing
370371
your chaincode.

0 commit comments

Comments
 (0)