https://github.com/gtk-rs/checker
Repository which contains various scripts to run for CI
https://github.com/gtk-rs/checker
Last synced: 2 months ago
JSON representation
Repository which contains various scripts to run for CI
- Host: GitHub
- URL: https://github.com/gtk-rs/checker
- Owner: gtk-rs
- License: apache-2.0
- Created: 2020-02-18T21:30:20.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T10:07:40.000Z (about 1 year ago)
- Last Synced: 2025-09-15T12:40:59.392Z (3 months ago)
- Language: Python
- Size: 60.5 KB
- Stars: 2
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# checker
Repository which contains various scripts to run for CI.
## Check missing manual traits in Gir.toml
If you run through `Cargo`, it'll check if some manual traits aren't missing
from the `Gir.toml` file:
```bash
$ cargo run -- [project folder]
```
You can set the gir file using the `--gir-file` flag. Note that it'll be used
for all the next folders and it's relative as well! For example:
```bash
$ cargo run -- [project folder1] --gir-file [some_file] [project folder 2] [project folder 3]
```
`[some file]` will be used for `[project folder 2]` AND `[project folder 3]`.
Also, like said previously, the gir file argument is a relative path from the
project folder.
You can pass multiple folders as argument.
## Check missing init asserts
Some functions have to be called before some others in GTK. This script ensures it has this check in those functions. You can run it as follows:
```bash
$ ./check_init_asserts
```