Skip to content

Commit

Permalink
Makefile, typos
Browse files Browse the repository at this point in the history
  • Loading branch information
wardviaene committed Apr 6, 2022
1 parent 31bbc89 commit bf80eea
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.idea
config.yaml
onelogin-auth-cli
/onelogin-auth-*
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
BINARY = onelogin-auth

all: build

build:
GOOS=linux GOARCH=amd64 go build ${LDFLAGS} -o ${BINARY}-linux-amd64 main.go
GOOS=linux GOARCH=arm64 go build ${LDFLAGS} -o ${BINARY}-linux-arm64 main.go
GOOS=darwin GOARCH=amd64 go build ${LDFLAGS} -o ${BINARY}-darwin-amd64 main.go
GOOS=darwin GOARCH=arm64 go build ${LDFLAGS} -o ${BINARY}-darwin-arm64 main.go

clean:
rm -f ${BINARY}-linux-${GOARCH}
2 changes: 1 addition & 1 deletion cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ var loginCmd = &cobra.Command{
config.DefaultRegion,
profileName,
)
fmt.Printf("Successfully setted credentials for: %s\n", profileName)
fmt.Printf("Successfully set credentials for: %s\n", profileName)
},
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var config Config
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "onelogin-auth",
Short: "OneLogin authenticatio CLI Tool",
Short: "OneLogin authentication CLI",
}

func Execute() {
Expand Down

0 comments on commit bf80eea

Please sign in to comment.