Crates.io | year_update |
lib.rs | year_update |
version | 1.2.0 |
source | src |
created_at | 2024-01-08 13:35:16.379542 |
updated_at | 2024-02-25 12:06:32.642229 |
description | Used to update the date of license files in GPL-v3 projects |
homepage | |
repository | https://gitlab.com/mateolafalce/year_update |
max_upload_size | |
id | 1092540 |
size | 46,155 |
Used to update the date of license files in GPL-v3 projects.
Usage: <last_year> <current_year>
year_update update
year_update 2023 2024
Go to the directory where you want to change the license date and then add the year you want to change to the new year. Then, every single file with the license advice will be update if it follow the this requirements
/***************************************************************************************
* main.rs -- This file is part of foo. *
* *
* Copyright (C) 2024 Me *
* *
* foo is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published *
* by the Free Software Foundation, either version 3 of the License, *
* or (at your option) any later version. *
* *
* foo is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty *
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see http://www.gnu.org/licenses/. *
* *
**************************************************************************************/