mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-28 19:19:21 -05:00
Add tests for Rust
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
- id: rust-hook
|
||||
name: rust example hook
|
||||
entry: rust-hello-world
|
||||
language: rust
|
||||
files: ''
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
[[package]]
|
||||
name = "rust-hello-world"
|
||||
version = "0.1.0"
|
||||
@@ -0,0 +1,3 @@
|
||||
[package]
|
||||
name = "rust-hello-world"
|
||||
version = "0.1.0"
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("hello world");
|
||||
}
|
||||
Reference in New Issue
Block a user