Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org> |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 2 | # |
| 3 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 4 | |
| 5 | .PHONY: all test clean |
| 6 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 7 | all: test |
| 8 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 9 | test: # @HELP run the integration tests |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 10 | test: deps |
| 11 | ./build/bin/run-roc-test |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 12 | |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 13 | clean: # @HELP clean up temporary files for ROC umbrella. |
| 14 | rm -rf aether-roc-umbrella/charts aether-roc-umbrella/Chart.lock |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 15 | |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 16 | deps: # @HELP build dependencies for ROC Umbrella local charts. |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 17 | deps: clean |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 18 | helm dep build aether-roc-umbrella |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 19 | |
| 20 | help: |
| 21 | @grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \ |
| 22 | | sort \ |
| 23 | | awk ' \ |
| 24 | BEGIN {FS = ": *# *@HELP"}; \ |
| 25 | {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}; \ |
| 26 | ' |