title |
---|
goshim(1) Document |
Document in Japanese: goshim(1) ドキュメント(日本語)
goshim(1)
goshim - Re-compiles only updated Go-source codes and execute transparently
$ go install github.com/knaka/goshim/cmd/goshim@latest
If the configuration file (~/.config/goshim.toml
) does not exist, it is automatically created at the first invocation.
By default, ~/src/go/
is the target project.
The following will create a symbolic links under $GOBIN
with the same names as the directory names under ~/src/go/src/cmd/
.
$ goshim install
Executing the symbolic link created above will build and install the target program into $GOBIN/.goshim/
and transparently execute its binary passing the arguments specified at the time of execution.
If the source code has been modified since the last run, it is automatically rebuilt and executed.