mirror of https://github.com/databricks/cli.git
`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:
parent
bb662fadbb
commit
905fe10e62
2
Makefile
2
Makefile
|
@ -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 ..."
|
||||||
|
|
Loading…
Reference in New Issue