Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Add Makefile and other QoL tweaks (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl authored Feb 24, 2021
1 parent 3debd4e commit 28a2ef8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode
deplist
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build:
go build cmd/deplist.go
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,15 @@ const (
## Command Line

```bash
$ go build cmd/deplist.go
$ ./deplist path/to/repo
$ ./deplist -deptype 2 path/to/repo # NodeJs deps
$ make
$ ./deplist path/to/repo # Go deps
golang.org/x/tools/go/gcexportdata v0.0.0-20201223010750-3fa0e8f87c1a
golang.org/x/tools/internal/gocommand v0.0.0-20201223010750-3fa0e8f87c1a
flag
...
$ ./deplist -deptype 4 path/to/repo # NodeJs deps
whatwg-fetch 3.1.0
less-loader 5.0.0
pseudomap 1.0.2
...
```

0 comments on commit 28a2ef8

Please sign in to comment.