8000 GitHub - bookerzzz/fgt: fgt runs any command for you and exits with exitcode 1 when the child process sent anything to stdout or stderr · GitHub
[go: up one dir, main page]

Skip to content
bookerzzzPublic
forked from GeertJohan/fgt

About

fgt runs any command for you and exits with exitcode 1 when the child process sent anything to stdout or stderr

Resources

Stars

0 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

fgt

fgt runs any command for you and exits with exitcode 1 when the child process sent anythingto stdout or stderr

Installation

go install github.com/GeertJohan/fgt

Usage

Some examples:

fgt true will return successfully

fgt false will return with exitcode 1

fgt echo hi will return with exitcode 1 (even though echo returned with exitcode 0)

fgt gofmt -l <yourpackage> will return with exitcode 1 when gofmt indicates something must be formatted diferently

History

This command was created to make sure jenkins will complain when gofmt needs something formatted.

About

fgt runs any command for you and exits with exitcode 1 when the child process sent anything to stdout or stderr

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages

0