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.
23 lines
481 B
TOML
23 lines
481 B
TOML
[package]
|
|
name = "magistamp"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
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 = "Apache-2.0"
|
|
|
|
|
|
|
|
[[bin]]
|
|
name = "magistamp"
|
|
path = "src/magistamp.rs"
|
|
|
|
[[bin]]
|
|
name = "cargo-magistamp"
|
|
path = "src/cargo_magistamp.rs"
|
|
|
|
|
|
[dependencies]
|