Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

running buffalo build with -o flag deletes working directory #827

Closed
sapiens-sapide opened this issue Dec 25, 2017 · 2 comments
Closed

running buffalo build with -o flag deletes working directory #827

sapiens-sapide opened this issue Dec 25, 2017 · 2 comments
Milestone

Comments

@sapiens-sapide
Copy link

sapiens-sapide commented Dec 25, 2017

I ran buffalo build to build my app and everything worked fine. But, when I ran buffalo build -o custom_binary_name the command failed with a ……/……/main.go: no such file or directory and my working directory has been completed erased !

Buffalo version is: v0.10.2.

Issue encountered on mac osx and freebsd.

@markbates
Copy link
Member

markbates commented Dec 25, 2017 via email

@sapiens-sapide
Copy link
Author

Thanks for your reply. It should have a safeguard to prevent this unexpected behaviour.

@markbates markbates added this to the 0.10.3 milestone Dec 26, 2017
markbates added a commit that referenced this issue Dec 26, 2017
running `buffalo build` with `-o` flag deletes working directory fixes #827
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants