mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
d_file_select work + misc changes (#1873)
* setup TU * JASResArcLoader OK * d_a_obj_stoneMark work * some funcs in d_a_obj_stoneMark * many changes * quat, d_a_obj_stone, d_a_alink, fix python script, tidy makefile * d_file_select functions + pr cleanup * match many dfile_select_c methods * m_Do_main OK * selFileWakuAnm & bookIconAnm * selCopyFileWakuAnm & copyBookIconAnm * dataDelEffAnm & dataCopyEffAnm * selectDataBaseMoveAnmInitSet & selectDataBaseMoveAnm * dataSelectIn * _move & dataSelectInit * match a few more * comment * J2DPicture::drawTexCoord * draw_function * dScnPly_Create + fix typing on request_of_phase_process_fn * checkpoint * checkpoint * checkpoint * checkpoint 2 (fixed) * dFile_select_c::dataSelectAnmSet * dFile_select_c::selectDataOpenMove * dFile_select_c::copySelMoveAnmInitSet * fix brightcheck issues * rm comments, fix status update * small mod to pr template
This commit is contained in:
@@ -9,7 +9,7 @@ To the best of my knowledge and belief, my contribution is either originally cre
|
||||
I understand that this project and its maintainers are not responsible for enforcing the CC0 license, and I release them from any potential liability related to my contribution.
|
||||
-->
|
||||
|
||||
- [ ] I agree to the terms of the CC0 License.
|
||||
- [] I agree to the terms of the CC0 License.
|
||||
|
||||
<!--
|
||||
Please check the checkbox above to indicate your agreement.
|
||||
|
||||
@@ -51,14 +51,26 @@ jobs:
|
||||
FILENAMES="${{ steps.changed-files-specific.outputs.all_changed_files }}"
|
||||
CMD="./tp github-check-update-status --personal-access-token ${{ secrets.PAT_TOKEN }} --debug"
|
||||
|
||||
# If .inc files are found, assume it's for d_a_alink.cpp for now.
|
||||
# We can come up something better here later if needed.
|
||||
if echo "$FILENAMES" | grep -q ".inc"; then
|
||||
CMD="$CMD --filename src/d/a/d_a_alink.cpp"
|
||||
else
|
||||
for FILE in $FILENAMES; do
|
||||
CMD="$CMD --filename $FILE"
|
||||
done
|
||||
IFS=' ' read -ra FILE_ARRAY <<< "$FILENAMES"
|
||||
INC_FOUND=false
|
||||
|
||||
# Remove any .inc files from the array
|
||||
for index in "${!FILE_ARRAY[@]}"; do
|
||||
if [[ "${FILE_ARRAY[index]}" == *.inc ]]; then
|
||||
unset 'FILE_ARRAY[index]'
|
||||
INC_FOUND=true
|
||||
fi
|
||||
done
|
||||
|
||||
# If any .inc files were found,
|
||||
# We will add "src/d/a/d_a_alink.cpp" to the array once
|
||||
# if it's not already there
|
||||
if $INC_FOUND && ! [[ " ${FILE_ARRAY[@]} " =~ " src/d/a/d_a_alink.cpp " ]]; then
|
||||
FILE_ARRAY+=("src/d/a/d_a_alink.cpp")
|
||||
fi
|
||||
|
||||
for FILE in "${FILE_ARRAY[@]}"; do
|
||||
CMD="$CMD --filename $FILE"
|
||||
done
|
||||
|
||||
$CMD
|
||||
|
||||
Reference in New Issue
Block a user