blob: f777393a371feb0ceaba2acb5a66ca74f909a7e5 [file] [log] [blame]
Sean Condonaf0eb3c2021-09-19 20:14:29 +01001# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
Scott Baker69654392021-09-17 13:50:16 -07002#
3# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4
5.PHONY: all test clean
6
Scott Baker69654392021-09-17 13:50:16 -07007all: test
8
Scott Baker69654392021-09-17 13:50:16 -07009test: # @HELP run the integration tests
Sean Condonaf0eb3c2021-09-19 20:14:29 +010010test: deps
11 ./build/bin/run-roc-test
Scott Baker69654392021-09-17 13:50:16 -070012
Sean Condonaf0eb3c2021-09-19 20:14:29 +010013clean: # @HELP clean up temporary files for ROC umbrella.
14 rm -rf aether-roc-umbrella/charts aether-roc-umbrella/Chart.lock
Scott Baker69654392021-09-17 13:50:16 -070015
Sean Condonaf0eb3c2021-09-19 20:14:29 +010016deps: # @HELP build dependencies for ROC Umbrella local charts.
Scott Baker69654392021-09-17 13:50:16 -070017deps: clean
Sean Condonaf0eb3c2021-09-19 20:14:29 +010018 helm dep build aether-roc-umbrella
Scott Baker69654392021-09-17 13:50:16 -070019
20help:
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 '