Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to provide concrete go file that should be builded without changing root directory? #113

Open
PodsekinNapopravku opened this issue Oct 1, 2021 · 0 comments

Comments

@PodsekinNapopravku
Copy link

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

  1. run fresh-dlv from /project/cmd
  2. run fresh-dlv -c custom_config.conf (when custom_config.conf provides 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant