Compare commits
2 commits
5427ea05a8
...
1c3adc487c
Author | SHA1 | Date | |
---|---|---|---|
Alex Janka | 1c3adc487c | ||
Alex Janka | cb75c6456c |
|
@ -4,9 +4,11 @@
|
||||||
entry: cargo-lock-updater
|
entry: cargo-lock-updater
|
||||||
language: script
|
language: script
|
||||||
types: [text]
|
types: [text]
|
||||||
|
require_serial: true
|
||||||
- id: fmt-check
|
- id: fmt-check
|
||||||
name: Check formatting
|
name: Check formatting
|
||||||
description: Runs make fmt-check
|
description: Runs make fmt-check
|
||||||
entry: fmt-check
|
entry: fmt-check
|
||||||
language: script
|
language: script
|
||||||
types: [text]
|
types: [text]
|
||||||
|
require_serial: true
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
for file in $(git ls-files | grep Cargo.lock); do
|
||||||
find . -type f -name 'Cargo.lock' -print0 | while IFS=$'\0' read -r -d '' file; do
|
|
||||||
(cd "$(dirname "$file")" && cargo update -wq)
|
(cd "$(dirname "$file")" && cargo update -wq)
|
||||||
git add $file
|
git add $file
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue