Skip to content

Instantly share code, notes, and snippets.

@geovanisouza92
Created September 25, 2018 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geovanisouza92/67ca47cee5cb0c4fd09580657de3443d to your computer and use it in GitHub Desktop.
Save geovanisouza92/67ca47cee5cb0c4fd09580657de3443d to your computer and use it in GitHub Desktop.
Go tasks
package main
import (
"github.com/geovanisouza92/go-tasks"
"github.com/geovanisouza92/go-tasks/vcs/git"
"github.com/geovanisouza92/go-tasks/build/docker"
"github.com/geovanisouza92/go-tasks/deploy/kubernetes"
)
func main() {
tasks.Define("git", git.InstallHooks)
tasks.Define("build", docker.Build)
tasks.Define("deploy", kubernetes.Deploy)
tasks.Handle()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment