Created
September 25, 2018 15:22
-
-
Save geovanisouza92/67ca47cee5cb0c4fd09580657de3443d to your computer and use it in GitHub Desktop.
Go tasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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