loov / goda

Go Dependency Analysis toolkit
MIT License
1.37k stars 45 forks source link

How to build source #73

Closed SkybuckFlying closed 4 months ago

SkybuckFlying commented 4 months ago

Tired of fails.

THE WORLD KEEPS CHANGING... HELLO ?

egonelbre commented 4 months ago
go install github.com/loov/goda@latest

Should work.

If you have a local clone of the repo, then go install . in the repo folder.

egonelbre commented 4 months ago

Added installation instruction in https://github.com/loov/goda/commit/5f9735c6da9aa3a898ab5525f01756d5d6555edc

SkybuckFlying commented 4 months ago

G:\Tools\Goda\goda

'goda' is not recognized as an internal or external command, operable program or batch file.

It seems to install into: V:\gopath\bin

I think I have to add this path to my path environment variable in windows.

Just gopath environment variable is not enough...

SkybuckFlying commented 4 months ago

Yes now it's working:

G:\TEST>goda
Usage: goda <flags> <subcommand> <subcommand args>

Subcommands:
        cut              Analyse indirect-dependencies.
        exec             Run command with extended statistics.
        expr             Help about package expressions
        format           Help about formatting
        graph            Print dependency graph.
        help             describe subcommands and their syntax
        list             List packages
        tree             Print dependency tree.
        weight           Analyse binary symbols.
        weight-diff      Compare binary symbol sizes. (Experimental)

Use "goda flags" for a list of top-level flags

Going to test it out ! ;)