Sylvain Desbureaux | a5bb31b | 2020-04-07 12:02:22 +0200 | [diff] [blame] | 1 | # 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 Latusek | db52a6d | 2020-10-15 15:02:47 +0200 | [diff] [blame] | 14 | HELM_BIN := helm |
Sylvain Desbureaux | a5bb31b | 2020-04-07 12:02:22 +0200 | [diff] [blame] | 15 | |
Sylvain Desbureaux | d1ca1ee | 2020-04-07 14:52:20 +0200 | [diff] [blame] | 16 | make-contrib: make-contrib-awx make-contrib-netbox make-contrib-ejbca make-contrib-core |
Sylvain Desbureaux | a5bb31b | 2020-04-07 12:02:22 +0200 | [diff] [blame] | 17 | |
| 18 | make-contrib-awx: |
Jakub Latusek | db52a6d | 2020-10-15 15:02:47 +0200 | [diff] [blame] | 19 | cd components && $(HELM_BIN) dep up awx && $(HELM_BIN) lint awx |
Sylvain Desbureaux | a5bb31b | 2020-04-07 12:02:22 +0200 | [diff] [blame] | 20 | |
Sylvain Desbureaux | d1ca1ee | 2020-04-07 14:52:20 +0200 | [diff] [blame] | 21 | make-contrib-ejbca: |
Jakub Latusek | db52a6d | 2020-10-15 15:02:47 +0200 | [diff] [blame] | 22 | cd components && $(HELM_BIN) dep up ejbca && $(HELM_BIN) lint ejbca |
Sylvain Desbureaux | d1ca1ee | 2020-04-07 14:52:20 +0200 | [diff] [blame] | 23 | |
Sylvain Desbureaux | a5bb31b | 2020-04-07 12:02:22 +0200 | [diff] [blame] | 24 | make-contrib-netbox: |
Jakub Latusek | db52a6d | 2020-10-15 15:02:47 +0200 | [diff] [blame] | 25 | cd components && $(HELM_BIN) dep up netbox && $(HELM_BIN) lint netbox |
Sylvain Desbureaux | a5bb31b | 2020-04-07 12:02:22 +0200 | [diff] [blame] | 26 | |
| 27 | make-contrib-core: |
Jakub Latusek | db52a6d | 2020-10-15 15:02:47 +0200 | [diff] [blame] | 28 | $(HELM_BIN) dep up . && $(HELM_BIN) lint . |
Sylvain Desbureaux | a5bb31b | 2020-04-07 12:02:22 +0200 | [diff] [blame] | 29 | |
| 30 | clean: |
| 31 | @find . -type f -name '*.tgz' -delete |
| 32 | @find . -type f -name '*.lock' -delete |