vault/scripts/assetcheck.sh
Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00

17 lines
420 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright IBM Corp. 2016, 2025
# SPDX-License-Identifier: BUSL-1.1
if [[ ! -e http/web_ui/index.html ]]
then
printf "Compiled UI assets not found. They can be built with: make static-dist\n\n"
exit 1
else
if [[ `find http/web_ui/index.html -mmin +10080` ]]
then
printf "Compiled UI assets are more than one week old. They can be rebuilt with: make static-dist\n\n"
exit 1
fi
fi