Skip to content

Commit

Permalink
bobfile: track project license metadata, license autodetector tool
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas-fi committed Sep 2, 2024
1 parent b4c3c00 commit 15e2b19
Show file tree
Hide file tree
Showing 5 changed files with 329 additions and 6 deletions.
2 changes: 2 additions & 0 deletions cmd/bob/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/function61/gokit/app/dynversion"
"github.com/function61/gokit/os/osutil"
"github.com/function61/turbobob/pkg/license"
"github.com/function61/turbobob/pkg/powerline"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -83,6 +84,7 @@ func toolsEntry() *cobra.Command {
// TODO: move powerline here?
cmd.AddCommand(initEntry())
cmd.AddCommand(langserverEntry())
cmd.AddCommand(license.Entrypoint())

return cmd
}
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ go 1.13
require (
github.com/cubewise-code/go-mime v0.0.0-20190322015324-9c5316ef3e8e // indirect
github.com/function61/gokit v0.0.0-20230408192420-6f1204d63c2b
github.com/go-enry/go-license-detector/v4 v4.3.1
github.com/jstemmer/gotags v1.4.1 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/moby/buildkit v0.10.4
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
Expand Down
Loading

0 comments on commit 15e2b19

Please sign in to comment.