mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-03-11 03:33:44 -04:00
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
20 lines
699 B
Bash
Executable File
20 lines
699 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if ! command -v addlicense @ >&1 > /dev/null; then
|
|
if command -v go @ >&1 > /dev/null; then
|
|
go install github.com/google/addlicense@latest
|
|
else
|
|
echo "ERROR: addlicense not installed."
|
|
echo "Install using https://github.com/google/addlicense#install"
|
|
echo "Tip: If you have go installed, run 'go install github.com/google/addlicense@latest'"
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
addlicense -v -l apache -c 'BentoML Team. All rights reserved.' \
|
|
-ignore .github/workflows/binary-releases.yml \
|
|
-ignore src/openllm/playground/features.py \
|
|
-ignore src/openllm/playground/opt_tuned.py \
|
|
-ignore src/openllm/playground/falcon_tuned.py \
|
|
"$@"
|