Skip to content

Commit 45d51d8

Browse files
committed
Move command line app to the more common cmd folder.
1 parent 1c18f60 commit 45d51d8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ _testmain.go
2626
.DS_Store
2727
.vscode
2828
result
29-
/bin
29+
/machineid

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ go get github.com/denisbrodbeck/machineid
2424
You can also add the cli app directly to your `$GOPATH/bin` with
2525

2626
```bash
27-
go get github.com/denisbrodbeck/machineid/cli/machineid
27+
go get github.com/denisbrodbeck/machineid/cmd/machineid
2828
```
2929

3030
## Usage
File renamed without changes.

makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.PHONY: build clean default test
22

33
build: clean
4-
@go build -o bin/machineid ./cli/machineid/main.go
4+
@go build -o machineid ./cmd/machineid/main.go
55

66
clean:
7-
@rm -rf ./bin/*
7+
@rm -rf ./machineid
88

99
test:
1010
go test ./...

0 commit comments

Comments
 (0)