mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
847dc0bec7
* Drone: Fix Starlark script Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * grafana-mixin: Move build logic to scripts Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Drone: Use mixin scripts Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * CI build image: Install jsonnetfmt and mixtool Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Makefile: Print commands Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
14 lines
269 B
Bash
Executable File
14 lines
269 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
cd "$(dirname "$0")"/..
|
|
|
|
. scripts/common.sh
|
|
|
|
find . -name 'vendor' -prune -o -name '*.libsonnet' -print -o -name '*.jsonnet' -print | \
|
|
while read f; do \
|
|
${JSONNET_FMT} "$f" | diff -u "$f" -; \
|
|
done
|
|
|
|
mixtool lint mixin.libsonnet
|