-
Notifications
You must be signed in to change notification settings - Fork 27
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
glock save on new repo fails to open GLOCKFILE #7
Comments
Whoops, I think I was too eager to push it out. I've just pulled back the commit -- the fix for this particular problem is easy, but I also realized that "glock cmd" will not add all of the cmd dependencies. Sorry for the false alarm. I'll finish it up, w/ a better job testing, over the weekend |
yep, I just noticed the tool dependency thing as well. Thanks for taking a look into it, it is otherwise working well for me. |
Plus 1 on glock save . vs glock save ./... |
OK, I just pushed another attempt at "glock cmd" functionality. It seems to work well. Please let me know if you find anything amiss! Thanks for your help btw |
@robfig Working great, thanks a lot. Now, to switch all my projects over to it 😄 |
Is there an existing way to automatically import similar files (e.g., |
Nothing official; probably I should add a section in the README for that. I think it should be easy:
If you're using godeps copy=false it should just work. If you use godeps with vendoring, then you may have to set the GOPATH so that glock can find the dependencies, eg. GOPATH=$GOPATH: However, I have not tested glock with multiple GOPATHs. If that doesn't work, then I would be willing to fix it. A workaround would be to copy your project into your vendor GOPATH and then use GOPATH= and take the resulting GLOCKFILE |
I decided to go with a fresh checkout for the new command stuff:
If I touched
GLOCKFILE
before I ran, things worked fine.(As an aside, it would be nice to run
glock save .
orglock save ./...
)The text was updated successfully, but these errors were encountered: