blob: 06f8525db96898384a099314d81719cb96c7a6f7 [file] [log] [blame]
Joey Armstrong73d35792022-11-25 08:46:46 -05001# -*- makefile -*-
2# -----------------------------------------------------------------------
Joey Armstrong14628cd2023-01-10 08:38:31 -05003# Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
Matteo Scandolo4747d292019-08-05 11:50:18 -07004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Joey Armstrong73d35792022-11-25 08:46:46 -050016# -----------------------------------------------------------------------
Matteo Scandolo4747d292019-08-05 11:50:18 -070017
Joey Armstrong36c9bcd2023-04-05 19:05:56 -040018$(if $(DEBUG),$(warning ENTER))
19
Joey Armstrong73d35792022-11-25 08:46:46 -050020.DEFAULT_GOAL := help
21MAKECMDGOALS ?= help
22
23TOP ?= .
24MAKEDIR ?= $(TOP)/makefiles
25
26##--------------------##
27##---] INCLUDES [---##
28##--------------------##
Joey Armstrong36c9bcd2023-04-05 19:05:56 -040029include $(MAKEDIR)/include.mk
30include $(MAKEDIR)/release/include.mk
31
32##--------------------##
33##---] INCLUDES [---##
34##--------------------##
Joey Armstrong73d35792022-11-25 08:46:46 -050035help-targets := help-all help HELP
36$(if $(filter $(help-targets),$(MAKECMDGOALS))\
37 ,$(eval include $(MAKEDIR)/help.mk))
38
39##-------------------##
40##---] GLOBALS [---##
41##-------------------##
Joey Armstrong73d35792022-11-25 08:46:46 -050042VERSION ?= $(shell cat ./VERSION)
Matteo Scandolo84f7d482019-08-08 19:00:47 -070043DIFF ?= $(git diff --shortstat 2> /dev/null | tail -n1)
Zdravko Bozakov2da76342019-10-21 09:47:35 +020044GIT_STATUS ?= $(shell [ -z "$DIFF" ] && echo "Dirty" || echo "Clean")
Matteo Scandolo4747d292019-08-05 11:50:18 -070045
Joey Armstrong36c9bcd2023-04-05 19:05:56 -040046include $(MAKEDIR)/tools.mk # Command macros for DOCKER_*, GO_*
Kent Hagerman60d62302020-03-10 17:02:36 -040047
Joey Armstrong73d35792022-11-25 08:46:46 -050048## use local vars to shorten paths
49bbsim-tag = ${DOCKER_REGISTRY}${DOCKER_REPOSITORY}bbsim:${DOCKER_TAG}
50
Joey Armstrong5c610772023-01-23 16:03:32 -050051## -----------------------------------------------------------------------
52## -----------------------------------------------------------------------
53
Matteo Scandolo4747d292019-08-05 11:50:18 -070054# Public targets
Matteo Scandolo4747d292019-08-05 11:50:18 -070055all: help
56
hkouser24361d42020-12-14 19:21:47 +053057protos: api/bbsim/bbsim.pb.go api/bbsim/bbsim.pb.gw.go api/legacy/bbsim.pb.go api/legacy/bbsim.pb.gw.go api/bbsim/bbsim_dmi.pb.go # @HELP Build proto files
Matteo Scandolo01d41ce2019-10-28 15:42:47 -070058
Joey Armstrong36c9bcd2023-04-05 19:05:56 -040059## -----------------------------------------------------------------------
60## Intent: Build tools for use on localhost
61## -----------------------------------------------------------------------
62build-target-deps += build-bbsim
63build-target-deps += build-bbsimctl
64build-target-deps += build-bbr
65
66.PHONY: build $(build-target-deps)
67build: protos $(build-target-deps)
68
69## -----------------------------------------------------------------------
70## Intent: Cross-compile binaries for release
71## -----------------------------------------------------------------------
72release-target-deps += release-bbr
73release-target-deps += release-bbsim
74release-target-deps += release-bbsimctl
75
76.PHONY: release $(release-target-deps)
77release: $(release-target-deps)
Kent Hagerman60d62302020-03-10 17:02:36 -040078
79## lint and unit tests
80
Joey Armstrong36c9bcd2023-04-05 19:05:56 -040081## -----------------------------------------------------------------------
82## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -040083lint-dockerfile:
84 @echo "Running Dockerfile lint check..."
85 @${HADOLINT} $$(find ./build -name "Dockerfile*")
86 @echo "Dockerfile lint check OK"
87
Joey Armstrong36c9bcd2023-04-05 19:05:56 -040088## -----------------------------------------------------------------------
89## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -040090lint-mod:
91 @echo "Running dependency check..."
92 @${GO} mod verify
93 @echo "Dependency check OK. Running vendor check..."
94 @git status > /dev/null
95 @git diff-index --quiet HEAD -- go.mod go.sum vendor || (echo "ERROR: Staged or modified files must be committed before running this test" && git status -- go.mod go.sum vendor && exit 1)
96 @[[ `git ls-files --exclude-standard --others go.mod go.sum vendor` == "" ]] || (echo "ERROR: Untracked files must be cleaned up before running this test" && git status -- go.mod go.sum vendor && exit 1)
97 ${GO} mod tidy
98 ${GO} mod vendor
99 @git status > /dev/null
100 @git diff-index --quiet HEAD -- go.mod go.sum vendor || (echo "ERROR: Modified files detected after running go mod tidy / go mod vendor" && git status -- go.mod go.sum vendor && git checkout -- go.mod go.sum vendor && exit 1)
101 @[[ `git ls-files --exclude-standard --others go.mod go.sum vendor` == "" ]] || (echo "ERROR: Untracked files detected after running go mod tidy / go mod vendor" && git status -- go.mod go.sum vendor && git checkout -- go.mod go.sum vendor && exit 1)
102 @echo "Vendor check OK."
103
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400104## -----------------------------------------------------------------------
105## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -0400106lint: lint-mod lint-dockerfile
107
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400108## -----------------------------------------------------------------------
109## -----------------------------------------------------------------------
Matteo Scandolo90d08f62020-10-29 12:06:55 -0700110sca:
Joey Armstrong73d35792022-11-25 08:46:46 -0500111 @$(RM) -r ./sca-report
Kent Hagerman60d62302020-03-10 17:02:36 -0400112 @mkdir -p ./sca-report
113 @echo "Running static code analysis..."
Matteo Scandolo96f89192021-03-12 13:17:26 -0800114 @${GOLANGCI_LINT} run -vv --deadline=6m --out-format junit-xml ./... | tee ./sca-report/sca-report.xml
Kent Hagerman60d62302020-03-10 17:02:36 -0400115 @echo ""
116 @echo "Static code analysis OK"
Matteo Scandolo4747d292019-08-05 11:50:18 -0700117
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400118## -----------------------------------------------------------------------
119## -----------------------------------------------------------------------
Matteo Scandolo0e9fabf2020-09-30 17:19:27 -0700120test: docs-lint test-unit test-bbr
Matteo Scandolo569e7172019-12-20 11:51:51 -0800121
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400122## -----------------------------------------------------------------------
123## -----------------------------------------------------------------------
Matteo Scandolocedde462021-03-09 17:37:16 -0800124test-unit: clean local-omci-lib-go # @HELP Execute unit tests
Matteo Scandolo90d08f62020-10-29 12:06:55 -0700125 @echo "Running unit tests..."
Kent Hagerman60d62302020-03-10 17:02:36 -0400126 @mkdir -p ./tests/results
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800127 @${GO} test -mod=vendor -bench=. -v -coverprofile ./tests/results/go-test-coverage.out -covermode count ./... 2>&1 | tee ./tests/results/go-test-results.out ;\
Kent Hagerman60d62302020-03-10 17:02:36 -0400128 RETURN=$$? ;\
129 ${GO_JUNIT_REPORT} < ./tests/results/go-test-results.out > ./tests/results/go-test-results.xml ;\
130 ${GOCOVER_COBERTURA} < ./tests/results/go-test-coverage.out > ./tests/results/go-test-coverage.xml ;\
131 exit $$RETURN
Matteo Scandolo4747d292019-08-05 11:50:18 -0700132
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400133## -----------------------------------------------------------------------
134## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -0400135test-bbr: release-bbr docker-build # @HELP Validate that BBSim and BBR are working together
Joey Armstrong73d35792022-11-25 08:46:46 -0500136 DOCKER_RUN_ARGS="-pon 2 -onu 2" $(MAKE) docker-run
Matteo Scandolo569e7172019-12-20 11:51:51 -0800137 sleep 5
Matteo Scandoloc11074d2020-09-14 14:59:24 -0700138 ./$(RELEASE_DIR)/$(RELEASE_BBR_NAME)-linux-amd64 -pon 2 -onu 2 -logfile tmp.logs
Joey Armstrong73d35792022-11-25 08:46:46 -0500139 docker $(RM) -f bbsim
Matteo Scandolo569e7172019-12-20 11:51:51 -0800140
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400141## -----------------------------------------------------------------------
142## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -0400143mod-update: # @HELP Download the dependencies to the vendor folder
144 ${GO} mod tidy
145 ${GO} mod vendor
Matteo Scandolo38305492019-10-11 11:36:00 -0700146
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400147## -----------------------------------------------------------------------
148## -----------------------------------------------------------------------
Matteo Scandolocedde462021-03-09 17:37:16 -0800149docker-build: local-omci-lib-go local-protos# @HELP Build the BBSim docker container (contains BBSimCtl too)
Kent Hagerman60d62302020-03-10 17:02:36 -0400150 docker build \
Joey Armstrong73d35792022-11-25 08:46:46 -0500151 -t "$(bbsim-tag)" \
Kent Hagerman60d62302020-03-10 17:02:36 -0400152 -f build/package/Dockerfile .
Matteo Scandolo4747d292019-08-05 11:50:18 -0700153
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400154## -----------------------------------------------------------------------
155## -----------------------------------------------------------------------
Matteo Scandolo01d41ce2019-10-28 15:42:47 -0700156docker-push: # @HELP Push the docker container to a registry
Joey Armstrong73d35792022-11-25 08:46:46 -0500157 docker push "$(bbsim-tag)"
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400158
159## -----------------------------------------------------------------------
160## -----------------------------------------------------------------------
Andrea Campanella64dffd52019-12-17 17:29:57 -0800161docker-kind-load:
162 @if [ "`kind get clusters | grep voltha-$(TYPE)`" = '' ]; then echo "no voltha-$(TYPE) cluster found" && exit 1; fi
Joey Armstrong73d35792022-11-25 08:46:46 -0500163 kind load docker-image "$(bbsim-tag)" --name=voltha-$(TYPE) --nodes $(shell kubectl get nodes --template='{{range .items}}{{.metadata.name}},{{end}}' | sed 's/,$$//')
164
165## -----------------------------------------------------------------------
166## docker-run
167## -----------------------------------------------------------------------
Joey Armstrong72558cb2022-11-30 06:35:52 -0500168
169# % docker run --detach unless dev-mode
170is-docker-run := $(filter-out %-dev,$(MAKECMDGOALS))
171is-docker-run := $(findstring docker-run,$(is-docker-run))
172
Joey Armstrong73d35792022-11-25 08:46:46 -0500173docker-run-cmd = docker run
Joey Armstrong72558cb2022-11-30 06:35:52 -0500174$(if $(is-docker-run),$(eval docker-run-cmd += --detach))
Joey Armstrong73d35792022-11-25 08:46:46 -0500175docker-run-cmd += ${DOCKER_PORTS}
176docker-run-cmd += --privileged
177docker-run-cmd += --rm
178docker-run-cmd += --name bbsim
179docker-run-cmd += "$(bbsim-tag)" /app/bbsim
180docker-run-cmd += ${DOCKER_RUN_ARGS}
Andrea Campanella64dffd52019-12-17 17:29:57 -0800181
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400182## -----------------------------------------------------------------------
183## -----------------------------------------------------------------------
Matteo Scandoloe383d5d2019-10-25 14:47:27 -0700184docker-run: # @HELP Runs the container locally (available options: DOCKER_RUN_ARGS="-pon 2 -onu 2" make docker-run)
Joey Armstrong73d35792022-11-25 08:46:46 -0500185 docker ps
Joey Armstrong72558cb2022-11-30 06:35:52 -0500186 $(docker-run-cmd)
Matteo Scandolo4b3fc7e2019-09-17 16:49:54 -0700187
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400188## -----------------------------------------------------------------------
189## -----------------------------------------------------------------------
Matteo Scandoloe383d5d2019-10-25 14:47:27 -0700190docker-run-dev: # @HELP Runs the container locally (intended for development purposes, not in detached mode)
Joey Armstrong73d35792022-11-25 08:46:46 -0500191 $(docker-run-cmd)
Matteo Scandoloe383d5d2019-10-25 14:47:27 -0700192
Joey Armstrong73d35792022-11-25 08:46:46 -0500193## -----------------------------------------------------------------------
194## docker-run
195## -----------------------------------------------------------------------
Zack Williams4b0ef4d2019-12-18 14:25:20 -0700196.PHONY: docs docs-lint
Zdravko Bozakov2da76342019-10-21 09:47:35 +0200197docs: swagger # @HELP Generate docs and opens them in the browser
Joey Armstrong73d35792022-11-25 08:46:46 -0500198 $(MAKE) -C docs html
Zdravko Bozakov2da76342019-10-21 09:47:35 +0200199 @echo -e "\nBBSim documentation generated in file://${PWD}/docs/build/html/index.html"
Matteo Scandolo40e067f2019-10-16 16:59:41 -0700200
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400201## -----------------------------------------------------------------------
202## -----------------------------------------------------------------------
Zack Williams4b0ef4d2019-12-18 14:25:20 -0700203docs-lint:
Joey Armstrong73d35792022-11-25 08:46:46 -0500204 $(MAKE) -C docs lint
Zack Williams4b0ef4d2019-12-18 14:25:20 -0700205
Joey Armstrong5c610772023-01-23 16:03:32 -0500206## -----------------------------------------------------------------------
207## -----------------------------------------------------------------------
Joey Armstrong73d35792022-11-25 08:46:46 -0500208swagger-deps += docs/swagger/bbsim/bbsim.swagger.json
209swagger-deps += docs/swagger/leagacy/bbsim.swagger.json
210.PHONY: $(swagger-deps)
211swagger: $(swagger-deps) # @HELP Generate swagger documentation for BBSim API
Matteo Scandolo4747d292019-08-05 11:50:18 -0700212
Joey Armstrong73d35792022-11-25 08:46:46 -0500213## -----------------------------------------------------------------------
Matteo Scandoloca08fc72019-12-04 14:17:39 -0800214## Local Development Helpers
Joey Armstrong73d35792022-11-25 08:46:46 -0500215## -----------------------------------------------------------------------
Matteo Scandolocedde462021-03-09 17:37:16 -0800216local-omci-lib-go:
217ifdef LOCAL_OMCI_LIB_GO
218 mkdir -p vendor/github.com/opencord/omci-lib-go
219 cp -r ${LOCAL_OMCI_LIB_GO}/* vendor/github.com/opencord/omci-lib-go
Matteo Scandoloca08fc72019-12-04 14:17:39 -0800220endif
Matteo Scandolo4747d292019-08-05 11:50:18 -0700221
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400222## -----------------------------------------------------------------------
223## -----------------------------------------------------------------------
Matteo Scandolo4f4ac792020-10-01 16:33:21 -0700224local-protos: ## Copies a local version of the voltha-protos dependency into the vendor directory
225ifdef LOCAL_PROTOS
Joey Armstrong73d35792022-11-25 08:46:46 -0500226 $(RM) -r vendor/github.com/opencord/voltha-protos/v5/go
David K. Bainbridgec415efe2021-08-19 13:05:21 +0000227 mkdir -p vendor/github.com/opencord/voltha-protos/v5/go
228 cp -r ${LOCAL_PROTOS}/go/* vendor/github.com/opencord/voltha-protos/v5/go
Joey Armstrong73d35792022-11-25 08:46:46 -0500229 $(RM) -r vendor/github.com/opencord/voltha-protos/v5/go/vendor
Matteo Scandolo4f4ac792020-10-01 16:33:21 -0700230endif
231
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400232## -----------------------------------------------------------------------
233## -----------------------------------------------------------------------
234clean ::
Joey Armstrong73d35792022-11-25 08:46:46 -0500235 @$(RM) -f bbsim
236 @$(RM) -f bbsimctl
237 @$(RM) -f bbr
238 @$(RM) -r tools/bin
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400239 @$(RM) -r release
Matteo Scandolo3de9de02019-11-14 13:40:03 -0800240
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400241sterile :: clean
Matteo Scandolo40e067f2019-10-16 16:59:41 -0700242
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400243## -----------------------------------------------------------------------
244## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -0400245setup_tools:
246 @echo "Downloading dependencies..."
David K. Bainbridgec415efe2021-08-19 13:05:21 +0000247 @${GO} mod download github.com/grpc-ecosystem/grpc-gateway github.com/opencord/voltha-protos/v5
Kent Hagerman60d62302020-03-10 17:02:36 -0400248 @echo "Dependencies downloaded OK"
Matteo Scandolo84f7d482019-08-08 19:00:47 -0700249
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400250## -----------------------------------------------------------------------
251## -----------------------------------------------------------------------
David K. Bainbridgec415efe2021-08-19 13:05:21 +0000252VOLTHA_PROTOS ?= $(shell ${GO} list -f '{{ .Dir }}' -m github.com/opencord/voltha-protos/v5)
Kent Hagerman60d62302020-03-10 17:02:36 -0400253GOOGLEAPI ?= $(shell ${GO} list -f '{{ .Dir }}' -m github.com/grpc-ecosystem/grpc-gateway)
Matteo Scandolo4747d292019-08-05 11:50:18 -0700254
Joey Armstrong73d35792022-11-25 08:46:46 -0500255.PHONY: api/openolt/openolt.pb.go api/bbsim/bbsim.pb.go api/bbsim/bbsim.pb.gw.go api/legacy/bbsim.pb.go api/legacy/bbsim.pb.gw.go
Kent Hagerman60d62302020-03-10 17:02:36 -0400256api/openolt/openolt.pb.go: api/openolt/openolt.proto setup_tools
257 @echo $@
258 @${PROTOC} -I. \
259 -I${GOOGLEAPI}/third_party/googleapis \
amit.ghoshee17c002021-06-10 12:14:38 +0200260 --go_out=plugins=grpc:./ --go_opt=paths=source_relative \
Kent Hagerman60d62302020-03-10 17:02:36 -0400261 $<
Zdravko Bozakov2da76342019-10-21 09:47:35 +0200262
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400263## -----------------------------------------------------------------------
264## -----------------------------------------------------------------------
hkouser24361d42020-12-14 19:21:47 +0530265api/bbsim/bbsim_dmi.pb.go: api/bbsim/bbsim_dmi.proto setup_tools
266 @echo $@
267 @${PROTOC} -I. \
268 -I${GOOGLEAPI}/third_party/googleapis \
amit.ghoshee17c002021-06-10 12:14:38 +0200269 --go_out=plugins=grpc:./ --go_opt=paths=source_relative \
hkouser24361d42020-12-14 19:21:47 +0530270 $<
271
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400272## -----------------------------------------------------------------------
273## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -0400274api/bbsim/bbsim.pb.go api/bbsim/bbsim.pb.gw.go: api/bbsim/bbsim.proto api/bbsim/bbsim.yaml setup_tools
275 @echo $@
276 @${PROTOC} -I. \
277 -I${GOOGLEAPI}/third_party/googleapis \
278 -I${VOLTHA_PROTOS}/protos/ \
amit.ghoshee17c002021-06-10 12:14:38 +0200279 --go_out=plugins=grpc:./ --go_opt=paths=source_relative \
280 --grpc-gateway_out=logtostderr=true,paths=source_relative,grpc_api_configuration=api/bbsim/bbsim.yaml,allow_delete_body=true:./ \
Kent Hagerman60d62302020-03-10 17:02:36 -0400281 $<
Zdravko Bozakov2da76342019-10-21 09:47:35 +0200282
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400283## -----------------------------------------------------------------------
284## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -0400285api/legacy/bbsim.pb.go api/legacy/bbsim.pb.gw.go: api/legacy/bbsim.proto setup_tools
286 @echo $@
287 @${PROTOC} -I. \
288 -I${GOOGLEAPI}/third_party/googleapis/ \
289 -I${GOOGLEAPI}/ \
290 -I${VOLTHA_PROTOS}/protos/ \
291 --go_out=plugins=grpc:./ \
amit.ghoshee17c002021-06-10 12:14:38 +0200292 --grpc-gateway_out=logtostderr=true,paths=source_relative,allow_delete_body=true:./ \
Kent Hagerman60d62302020-03-10 17:02:36 -0400293 $<
294
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400295## -----------------------------------------------------------------------
296## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -0400297docs/swagger/bbsim/bbsim.swagger.json: api/bbsim/bbsim.yaml setup_tools
298 @echo $@
299 @${PROTOC} -I ./api \
300 -I${GOOGLEAPI}/ \
301 -I${VOLTHA_PROTOS}/protos/ \
Zack Williamsd2907e62020-04-03 10:23:02 -0700302 --swagger_out=logtostderr=true,allow_delete_body=true,disable_default_errors=true,grpc_api_configuration=$<:docs/swagger/ \
Kent Hagerman60d62302020-03-10 17:02:36 -0400303 api/bbsim/bbsim.proto
304
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400305## -----------------------------------------------------------------------
306## -----------------------------------------------------------------------
Kent Hagerman60d62302020-03-10 17:02:36 -0400307docs/swagger/leagacy/bbsim.swagger.json: api/legacy/bbsim.proto setup_tools
308 @echo $@
309 @${PROTOC} -I ./api \
310 -I${GOOGLEAPI}/ \
311 -I${VOLTHA_PROTOS}/protos/ \
Zack Williamsd2907e62020-04-03 10:23:02 -0700312 --swagger_out=logtostderr=true,allow_delete_body=true,disable_default_errors=true:docs/swagger/ \
Kent Hagerman60d62302020-03-10 17:02:36 -0400313 $<
Joey Armstrong73d35792022-11-25 08:46:46 -0500314
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400315## -----------------------------------------------------------------------
316## Intent: Helper target used to exercise release script changes
317## -----------------------------------------------------------------------
Joey Armstrong2c850cc2023-04-17 16:30:00 -0400318include $(MAKEDIR)/release/onf-publish.mk
Joey Armstrong36c9bcd2023-04-05 19:05:56 -0400319
320$(if $(DEBUG),$(warning LEAVE))
321
Joey Armstrong73d35792022-11-25 08:46:46 -0500322# [EOF]