Compare commits

..

No commits in common. "1c3adc487cca5ae8fe76fbf51669797c0c90aafb" and "5427ea05a86fefc59f7f0893f3197a43b43e84e0" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View file

@ -4,11 +4,9 @@
entry: cargo-lock-updater
language: script
types: [text]
require_serial: true
- id: fmt-check
name: Check formatting
description: Runs make fmt-check
entry: fmt-check
language: script
types: [text]
require_serial: true

View file

@ -1,5 +1,6 @@
#!/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)
git add $file
done