Overload is a file generator for decidim-app applications entirely written in Rust.
This script aims to generate a clean OVERLOADS.md file which references all non-official customizations made by Open Source Politics. It helps to follow which files are overwritten.
For each not registered files, script will find the hash commit which introduced this file with the commit title.
For each override, a new line is added to the overloads registry like following :
* <FILENAME>
`<COMMIT HASH> - <COMMIT TITLE>`
Note: Script deletes the overload registry and rewrite it, you can't edit manually the file since changes will be removed.
Overloads files must be present in Git history otherwise they won't be added in overloads generator
Create a .overloadignore
files with the exhaustive list of files which must be ignored by program.
- Run program
cargo run
Or use the binary :
- Compile program
cargo build --release
- Run the binary
target/release/overload