Skip to content

retr0h/task-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Task Go

A prescriptive Golang Task runner.

Prescriptivity

Install

Install Task:

$ brew install go-task

Install Taskfile into project:

$ curl -o Taskfile.yml https://raw.githubusercontent.com/retr0h/task-go/main/Taskfile.yml
$ task

Usage

Install dependencies

$ task deps

Module maintenance:

$ task mod

Report likely mistakes in packages:

$ task vet

Run Go's vulnerability scanner:

$ task vuln

Compile and run Go program:

$ task run

Test packages:

$ task unit

Test all:

$ task test

Generate coverage:

$ task cov

Reformat files whose formatting differs from go_fmt_command:

$ task fmt

Check files whose formatting differs from go_fmt_command:

$ task fmt:check

Generate markdown documentation for golang code:

$ task doc:generate

List targets:

$ task

License

The MIT License.

About

A prescriptive Golang Task runner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published