A quick cargo and git to add license headers.
This was a quickly written tool to add the SPDX license header to all the *.rs files. It just checks if the license is at the top. If it isn't it stamps the file. If it is it ignores it.
This commit is contained in:
15
Cargo.toml
15
Cargo.toml
@ -1,13 +1,22 @@
|
||||
[package]
|
||||
name = "magistamp"
|
||||
version = "0.0.0"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "🪄 Magistamp: A Rust tool to magically seal your source files with SPDX license headers."
|
||||
description = "A Rust tool to magically seal your source files with SPDX license headers."
|
||||
repository = "/CyberMages/magistamp"
|
||||
authors = ["CyberMages LLC <Software@CyberMagesLLC.com>", "Jason Travis Smith <Myrddin@CyberMages.tech>"]
|
||||
readme = "README.md"
|
||||
license-file = "LICENSE.md"
|
||||
license = "Apache-2.0"
|
||||
|
||||
|
||||
|
||||
[[bin]]
|
||||
name = "magistamp"
|
||||
path = "src/magistamp.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "cargo-magistamp"
|
||||
path = "src/cargo_magistamp.rs"
|
||||
|
||||
|
||||
[dependencies]
|
||||
|
||||
Reference in New Issue
Block a user