This website requires JavaScript.
Explore
Help
Register
Sign In
suyiiyii
/
yq
Watch
1
Star
0
Fork
0
You've already forked yq
mirror of
https://github.com/mikefarah/yq.git
synced
2024-12-19 20:19:04 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
71f5f76213
yq
/
scripts
/
format.sh
5 lines
101 B
Bash
Raw
Normal View
History
Unescape
Escape
Task: Simplify development The base directory has all shell scripts in scripts/ and all example/test files in examples/. A Makefile provides all the commands with helpful information. If a developer simply types `make` then vendor is properly updated, the code is formatted, linted, tested, built, acceptance test run, and installed. Linting errors resolved. Ignored test case (`TestParsePath`) updated to work as expected.
2017-09-20 23:40:33 +00:00
#!/bin/bash
find .
\(
-path ./vendor
\)
-prune -o -name
"*.go"
-exec goimports -w
{
}
\;
Colors work for all commands
2020-02-27 23:09:49 +00:00
go mod tidy
Reference in New Issue
Copy Permalink