`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"
```
This commit is contained in:
Serge Smertin 2023-10-27 12:50:41 +02:00 committed by GitHub
parent bb662fadbb
commit 905fe10e62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ build: vendor
snapshot: snapshot:
@echo "✓ Building dev snapshot" @echo "✓ Building dev snapshot"
@goreleaser build --snapshot --clean --single-target @go build -o .databricks/databricks
vendor: vendor:
@echo "✓ Filling vendor folder with library code ..." @echo "✓ Filling vendor folder with library code ..."