grafana-pcp/SOURCES/build_frontend.sh
2022-03-29 12:20:52 +00:00

11 lines
249 B
Bash
Executable File

#!/bin/bash -eu
# Build the frontend
yarn run build
# Build the dashboards
make build-dashboards
# Fix permissions (webpack sometimes outputs files with mode = 666 due to reasons unknown (race condition/umask issue afaics))
chmod -R g-w,o-w dist