fresh
fresh copied to clipboard
How to provide concrete go file that should be builded without changing root directory?
Hello!
As example i have project structure like this
/project/cmd/main.go
/project/internal/something.go
/project/internal/...
When i run fresh-dlv from /project it causes an error in console "no Go files in /project".
I have two ways
- run
fresh-dlvfrom/project/cmd - run
fresh-dlv -c custom_config.conf(whencustom_config.confprovides correct root directory "root /project/cmd")
In these two cases fresh doesn't rebuild when i make changes in nonroot directories, like /project/internal.
I don't want to move main.go to /project.