File: tidy.sh

package info (click to toggle)
golang-github-lestrrat-go-jwx 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,872 kB
  • sloc: sh: 222; makefile: 86; perl: 62
file content (7 lines) | stat: -rwxr-xr-x 118 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/bash

for dir in $(find . -name 'go.mod' | perl -pe 's{/go.mod$}{}'); do
	pushd "$dir"
	go mod tidy
	popd
done