|
| 1 | +# Copyright 2025 Greptime Team |
| 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. |
| 14 | + |
1 | 15 | ## Tool Versions |
2 | 16 | KAWKEYE_VERSION ?= v6.0.0 |
3 | 17 |
|
4 | | -.PHONY: install-hawkeye |
5 | | -install-hawkeye: ## Install hawkeye. |
| 18 | +.PHONY: hawkeye |
| 19 | +hawkeye: ## Install hawkeye. |
6 | 20 | curl --proto '=https' --tlsv1.2 -LsSf https://github.com/korandoru/hawkeye/releases/download/${KAWKEYE_VERSION}/hawkeye-installer.sh | sh |
7 | 21 |
|
8 | | -.PHONY: check-lincense-header |
9 | | -check-lincense-header: install-hawkeye ## Check License Header. |
| 22 | +.PHONY: check-license |
| 23 | +check-license: ## Check License Header. |
10 | 24 | hawkeye check --config licenserc.toml |
11 | 25 |
|
12 | | -.PHONY: format-lincense-header |
13 | | -format-lincense-header: install-hawkeye ## Format License Header. |
| 26 | +.PHONY: format-license |
| 27 | +format-license: ## Format License Header. |
14 | 28 | hawkeye format --config licenserc.toml |
15 | 29 |
|
16 | | -.PHONY: remove-lincense-header |
17 | | -remove-lincense-header: install-hawkeye ## Remove License Header. |
| 30 | +.PHONY: remove-license |
| 31 | +remove-license: ## Remove License Header. |
18 | 32 | hawkeye remove --config licenserc.toml |
0 commit comments