File: gomodtidyall

package info (click to toggle)
golang-github-vbauerster-mpb 8.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,044 kB
  • sloc: sh: 7; makefile: 3
file content (9 lines) | stat: -rwxr-xr-x 140 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

for d in *; do
    [ ! -d "$d" ] && continue
    pushd "$d" >/dev/null 2>&1
    go mod tidy
    popd >/dev/null 2>&1
done