1*5d3e7166SEd Maste# Bazel Example 2*5d3e7166SEd Maste 3*5d3e7166SEd MasteThis directory shows an example of using LibCbor in a project that builds with Bazel. 4*5d3e7166SEd Maste 5*5d3e7166SEd Maste## Compile 6*5d3e7166SEd Maste 7*5d3e7166SEd MasteTo build the project: 8*5d3e7166SEd Maste 9*5d3e7166SEd Maste```shell 10*5d3e7166SEd Mastebazel build src:all 11*5d3e7166SEd Maste``` 12*5d3e7166SEd Maste 13*5d3e7166SEd Maste## Test 14*5d3e7166SEd Maste 15*5d3e7166SEd MasteTo test the code: 16*5d3e7166SEd Maste 17*5d3e7166SEd Maste```shell 18*5d3e7166SEd Mastebazel test src:all 19*5d3e7166SEd Maste``` 20*5d3e7166SEd Maste 21*5d3e7166SEd Maste## Run 22*5d3e7166SEd Maste 23*5d3e7166SEd MasteTo run the demo: 24*5d3e7166SEd Maste 25*5d3e7166SEd Maste```shell 26*5d3e7166SEd Mastebazel run src:hello 27*5d3e7166SEd Maste``` 28*5d3e7166SEd Maste 29*5d3e7166SEd Masteor 30*5d3e7166SEd Maste 31*5d3e7166SEd Maste```shell 32*5d3e7166SEd Mastebazel-bin/src/hello 33*5d3e7166SEd Maste``` 34