From 7cda2d87ef7a0d5283c2ae5318aaf0957a7055b4 Mon Sep 17 00:00:00 2001 From: Quentin Perez Date: Fri, 18 Mar 2016 14:57:15 +0100 Subject: [PATCH 1/2] Remove cache after install with brew --- contrib/homebrew/scw.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/homebrew/scw.rb b/contrib/homebrew/scw.rb index 1a2727c519..a1d9421838 100644 --- a/contrib/homebrew/scw.rb +++ b/contrib/homebrew/scw.rb @@ -18,6 +18,9 @@ def install (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/" + # we remove our .scw-cache.db file, to clean the cache of scw + # this file is created and handled by scw + system "rm", "-f", "~/.scw-cache.db" bash_completion.install "src/github.com/scaleway/scaleway-cli/contrib/completion/bash/scw" zsh_completion.install "src/github.com/scaleway/scaleway-cli/contrib/completion/zsh/_scw" From 3aa9a5309f14b45c362ab80a619cf1e4de21105c Mon Sep 17 00:00:00 2001 From: Quentin Perez Date: Fri, 18 Mar 2016 14:58:39 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a35319eda3..fced3cb9d7 100644 --- a/README.md +++ b/README.md @@ -1185,6 +1185,7 @@ $ scw inspect myserver | jq '.[0].public_ip.address' * Use `SCW_SECURE_EXEC` instead of `exec_exec` * Remove `scaleway_api_endpoint` environment variable +* brew remove cache after install * `scw login` don't ask to upload ssh key when there is no keys View full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.8.0...master)