Skip to content

Commit

Permalink
chore add git lfs
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrery committed Apr 16, 2024
1 parent 8a3fa77 commit fadf7f8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion script/make_utils/run_use_case_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ check_directory_exists() {
fi
}

pull_git_lfs_objects() {
echo "Pulling files with Git LFS..."
git lfs pull
echo "Git LFS pull completed."
}

check_clean_git_status() {
if git ls-files --others --exclude-standard | grep -q "$1"; then
echo "Error: The repository is not clean. Untracked files found in $1."
Expand Down Expand Up @@ -91,6 +97,7 @@ print_summary() {

main() {
check_directory_exists "$USE_CASE_DIR"
pull_git_lfs_objects
check_clean_git_status "$USE_CASE_DIR_NAME"

declare -a success_examples
Expand All @@ -114,4 +121,4 @@ main() {
fi
}

main "$@"
main "$@"

0 comments on commit fadf7f8

Please sign in to comment.