2024-02-21 23:33:42 +01:00
|
|
|
|
# C++
|
|
|
|
|
- id: clang-format
|
|
|
|
|
name: clang-format
|
|
|
|
|
description: Format C/C++ sources with ‹clang-format›.
|
|
|
|
|
entry: clang-format -i
|
2024-02-24 16:25:21 +01:00
|
|
|
|
args:
|
|
|
|
|
- "-style=file"
|
2024-02-21 23:33:42 +01:00
|
|
|
|
language: system
|
2024-02-21 23:42:42 +01:00
|
|
|
|
types_or:
|
2024-02-21 23:33:42 +01:00
|
|
|
|
- c
|
|
|
|
|
- c++
|
|
|
|
|
|
|
|
|
|
# Rust
|
2024-02-21 23:22:16 +01:00
|
|
|
|
- id: rust-fmt
|
|
|
|
|
name: rustfmt
|
2024-02-21 23:33:42 +01:00
|
|
|
|
description: Format Rust sources with ‹rustfmt›.
|
2024-02-21 23:22:16 +01:00
|
|
|
|
entry: rustfmt
|
|
|
|
|
language: system
|
|
|
|
|
types:
|
|
|
|
|
- rust
|
|
|
|
|
- id: rust-clippy
|
|
|
|
|
name: clippy
|
|
|
|
|
description: Lint Rust sources with ‹clippy›.
|
2024-02-24 15:21:01 +01:00
|
|
|
|
entry: rust/clippy-driver.sh
|
2024-02-21 23:22:16 +01:00
|
|
|
|
language: system
|
|
|
|
|
types:
|
|
|
|
|
- rust
|
2024-02-24 16:25:52 +01:00
|
|
|
|
|
|
|
|
|
# Cargo
|
|
|
|
|
- id: cargo-fmt
|
|
|
|
|
name: cargo fmt
|
|
|
|
|
description: Format sources with ‹cargo fmt›.
|
|
|
|
|
entry: cargo fmt
|
|
|
|
|
args:
|
|
|
|
|
- "--"
|
|
|
|
|
language: system
|
|
|
|
|
types:
|
|
|
|
|
- rust
|
|
|
|
|
- id: cargo-check
|
|
|
|
|
name: cargo check
|
|
|
|
|
description: Check the crate for errors.
|
|
|
|
|
entry: cargo check
|
|
|
|
|
language: system
|
|
|
|
|
types:
|
|
|
|
|
- rust
|
|
|
|
|
pass_filenames: false
|
|
|
|
|
- id: cargo-clippy
|
|
|
|
|
name: cargo clippy
|
|
|
|
|
description: Lint the crate with ‹cargo clippy›.
|
|
|
|
|
entry: cargo clippy
|
|
|
|
|
args:
|
|
|
|
|
- "--"
|
|
|
|
|
language: system
|
|
|
|
|
types:
|
|
|
|
|
- rust
|
|
|
|
|
pass_filenames: false
|
2024-02-26 16:33:53 +01:00
|
|
|
|
|
|
|
|
|
# Go
|
|
|
|
|
- id: gofmt
|
|
|
|
|
name: gofmt
|
|
|
|
|
description: Format Go sources with ‹gofmt›.
|
|
|
|
|
entry: gofmt
|
|
|
|
|
args:
|
|
|
|
|
- "-w"
|
|
|
|
|
language: system
|
|
|
|
|
types:
|
|
|
|
|
- go
|