mirror of https://github.com/grafana/grafana.git
13 lines
335 B
Bash
13 lines
335 B
Bash
# Script called from makefile to auto down the tilt environment on ctrl + c.
|
|
# Paths are relative to the makefile
|
|
|
|
function tilt_down()
|
|
{
|
|
echo "Tearing down Tilt environment... (this might take a little while)"
|
|
tilt down -f devenv/frontend-service/Tiltfile
|
|
}
|
|
|
|
|
|
trap tilt_down SIGINT
|
|
|
|
tilt up -f devenv/frontend-service/Tiltfile |