Skip to content

linux-china/xtask-go-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang xtask demo

Inspired by cargo-xtask and use xtask for your Go project scripts.

Get started

Create a xtask directory in your project root, and create a main.go file in the xtask directory.

go run xtask/main.go hello

Standard tasks

  • go run xtask/main.go --help: list all available tasks, and output as following
Tasks:
  setup - environment setup
  hello - hello task

Tools & Libraries

References

About

Golang xtask: go run xtask/main.go hello

Resources

Stars

Watchers

Forks

Languages