mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-22 06:19:35 -05:00
21 lines
752 B
Bash
Executable File
21 lines
752 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/llama2_qlora.py \
|
|
-ignore src/openllm/playground/falcon_tuned.py \
|
|
"$@"
|