Skip to content

Commit

Permalink
Move command line app to the more common cmd folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
denisbrodbeck committed Nov 9, 2017
1 parent 1c18f60 commit 45d51d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -26,4 +26,4 @@ _testmain.go
.DS_Store
.vscode
result
/bin
/machineid
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -24,7 +24,7 @@ go get github.com/denisbrodbeck/machineid
You can also add the cli app directly to your `$GOPATH/bin` with

```bash
go get github.com/denisbrodbeck/machineid/cli/machineid
go get github.com/denisbrodbeck/machineid/cmd/machineid
```

## Usage
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions makefile
@@ -1,10 +1,10 @@
.PHONY: build clean default test

build: clean
@go build -o bin/machineid ./cli/machineid/main.go
@go build -o machineid ./cmd/machineid/main.go

clean:
@rm -rf ./bin/*
@rm -rf ./machineid

test:
go test ./...
Expand Down

0 comments on commit 45d51d8

Please sign in to comment.