Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorg to make go install work #1

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $(LOCAL_BIN):
mkdir -p $(LOCAL_BIN)

$(BINARY): $(LOCAL_BIN)
go build -o $(BINARY) cmd/main.go
go build -o $(BINARY) cmd/makefile-graph/main.go

build: $(BINARY)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ make build

The resulting binary will be located in `bin/makefile-graph`.

Install the CLI application using `go build`.
Install the CLI application using `go install`.

``` shell
go build -o $(go env GOBIN)/makefile-graph github.com/dnaeon/makefile-graph/cmd
go install github.com/dnaeon/makefile-graph/cmd/makefile-graph@latest
```

In order to install the parser package and use it in your own Go code run the
Expand Down
File renamed without changes.
Loading