fishi0x01 / vsh

vsh - HashiCorp Vault interactive shell and cli tool
MIT License
284 stars 12 forks source link

compiling on debian #77

Closed benny-dreamly closed 3 years ago

benny-dreamly commented 3 years ago

hi there,

I am just wondering how to compile this on Debian 10.

Thanks!

fishi0x01 commented 3 years ago

Hi :wave:

This is a standard go project, so as long as you have go installed, go build will compile it for you. Further, there is a make command which also does the job with some extras make compile.

The README contains more info on that.

In addition to that: Have a look at some go tutorials on the web. E.g., https://golang.org/doc/tutorial/compile-install

fishi0x01 commented 3 years ago

@linuxnoob121 concerning your compilation issue: Which version of go are you using to compile? You can see the version when you run go version.

Further, you can try to compile via go build -mod vendor, which uses the vendor directory for dependencies.