From 905fe10e625ceb90137f5c5e1422e5aba41c1c23 Mon Sep 17 00:00:00 2001 From: Serge Smertin <259697+nfx@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:50:41 +0200 Subject: [PATCH] `make snapshot` to build file in `.databricks/databricks` (#927) Goreleaser builds binary in 10-15 seconds, but go build does it just in 3-5 seconds. Target is `.databricks` folder in the current checkout, which is already in `.gitignore`. Make sure you have the following $PATH: ``` PATH="/path/to/cli/checkout/.databricks:$PATH" ``` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3c55b8cf..243a9119 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ build: vendor snapshot: @echo "✓ Building dev snapshot" - @goreleaser build --snapshot --clean --single-target + @go build -o .databricks/databricks vendor: @echo "✓ Filling vendor folder with library code ..."