-
Notifications
You must be signed in to change notification settings - Fork 156
Brew #311
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
Brew #311
Conversation
contrib/homebrew/scw.rb
Outdated
| (buildpath/"src/github.com/scaleway/scaleway-cli").install Dir["*"] | ||
|
|
||
| system "go", "build", "-o", "#{bin}/scw", "-v", "-ldflags", "-X github.com/scaleway/scaleway-cli/pkg/scwversion.GITCOMMIT=homebrew", "github.com/scaleway/scaleway-cli/cmd/scw/" | ||
| system "rm", "-f", "~/.scw-cache.db" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent indentation detected.
Tab detected.
| (buildpath/"src/github.com/scaleway/scaleway-cli").install Dir["*"] | ||
|
|
||
| system "go", "build", "-o", "#{bin}/scw", "-v", "-ldflags", "-X github.com/scaleway/scaleway-cli/pkg/scwversion.GITCOMMIT=homebrew", "github.com/scaleway/scaleway-cli/cmd/scw/" | ||
| system "rm", "-f", "~/.scw-cache.db" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a comment, so the homebrew team won't be afraid by this addition :)
contrib/homebrew/scw.rb
Outdated
|
|
||
| system "go", "build", "-o", "#{bin}/scw", "-v", "-ldflags", "-X github.com/scaleway/scaleway-cli/pkg/scwversion.GITCOMMIT=homebrew", "github.com/scaleway/scaleway-cli/cmd/scw/" | ||
| # we remove our .scw-cache.db file, to clean the cache of scw | ||
| # this file is created and handled by scw |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrect indentation detected (column 1 instead of 4).
Tab detected.
|
Done |
|
LGTM |
fix #210