summaryrefslogtreecommitdiffstats
path: root/examples/binapi
diff options
context:
space:
mode:
Diffstat (limited to 'examples/binapi')
-rw-r--r--examples/binapi/VPP_VERSION1
-rw-r--r--examples/binapi/gen.go6
2 files changed, 2 insertions, 5 deletions
diff --git a/examples/binapi/VPP_VERSION b/examples/binapi/VPP_VERSION
deleted file mode 100644
index a9bd32f..0000000
--- a/examples/binapi/VPP_VERSION
+++ /dev/null
@@ -1 +0,0 @@
-19.04.1-rc0~5-g6f05f724f \ No newline at end of file
diff --git a/examples/binapi/gen.go b/examples/binapi/gen.go
index edaa703..2e86acd 100644
--- a/examples/binapi/gen.go
+++ b/examples/binapi/gen.go
@@ -1,17 +1,15 @@
package binapi
// Generate Go code from the VPP APIs located in the /usr/share/vpp/api directory.
-//go:generate -command binapigen binapi-generator --output-dir=. --include-services
+//go:generate -command binapigen binapi-generator --output-dir=. --include-services --continue-onerror
-// core
//go:generate binapigen --input-file=/usr/share/vpp/api/core/af_packet.api.json
//go:generate binapigen --input-file=/usr/share/vpp/api/core/interface.api.json
//go:generate binapigen --input-file=/usr/share/vpp/api/core/ip.api.json
//go:generate binapigen --input-file=/usr/share/vpp/api/core/memclnt.api.json
//go:generate binapigen --input-file=/usr/share/vpp/api/core/vpe.api.json
-// plugins
//go:generate binapigen --input-file=/usr/share/vpp/api/plugins/acl.api.json
//go:generate binapigen --input-file=/usr/share/vpp/api/plugins/memif.api.json
// VPP version
-//go:generate sh -ec "dpkg-query -f '$DOLLAR{Version}' -W vpp > VPP_VERSION"
+///go:generate sh -c "dpkg-query -f '$DOLLAR{Version}' -W vpp > VPP_VERSION"