blob: 32386fc89a7a8e4997badeae2cb145e27632dc3e [file] [log] [blame]
Sylvain Desbureauxa5bb31b2020-04-07 12:02:22 +02001# Copyright © 2018 AT&T Intellectual Property. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
Jakub Latusekdb52a6d2020-10-15 15:02:47 +020014HELM_BIN := helm
Sylvain Desbureauxa5bb31b2020-04-07 12:02:22 +020015
Sylvain Desbureauxd1ca1ee2020-04-07 14:52:20 +020016make-contrib: make-contrib-awx make-contrib-netbox make-contrib-ejbca make-contrib-core
Sylvain Desbureauxa5bb31b2020-04-07 12:02:22 +020017
18make-contrib-awx:
Jakub Latusekdb52a6d2020-10-15 15:02:47 +020019 cd components && $(HELM_BIN) dep up awx && $(HELM_BIN) lint awx
Sylvain Desbureauxa5bb31b2020-04-07 12:02:22 +020020
Sylvain Desbureauxd1ca1ee2020-04-07 14:52:20 +020021make-contrib-ejbca:
Jakub Latusekdb52a6d2020-10-15 15:02:47 +020022 cd components && $(HELM_BIN) dep up ejbca && $(HELM_BIN) lint ejbca
Sylvain Desbureauxd1ca1ee2020-04-07 14:52:20 +020023
Sylvain Desbureauxa5bb31b2020-04-07 12:02:22 +020024make-contrib-netbox:
Jakub Latusekdb52a6d2020-10-15 15:02:47 +020025 cd components && $(HELM_BIN) dep up netbox && $(HELM_BIN) lint netbox
Sylvain Desbureauxa5bb31b2020-04-07 12:02:22 +020026
27make-contrib-core:
Jakub Latusekdb52a6d2020-10-15 15:02:47 +020028 $(HELM_BIN) dep up . && $(HELM_BIN) lint .
Sylvain Desbureauxa5bb31b2020-04-07 12:02:22 +020029
30clean:
31 @find . -type f -name '*.tgz' -delete
32 @find . -type f -name '*.lock' -delete