diff options
| author | Pheenoh <pheenoh@gmail.com> | 2023-08-10 03:57:49 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-10 03:57:49 -0600 |
| commit | d24b09c2d9e303df68abd7f3417babfc00d83c78 (patch) | |
| tree | 52f020141957595ac866109832723941a8f7025f /.github | |
| parent | 244892aeb849a9ad9801aa9828e6282d29df87f0 (diff) | |
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
Diffstat (limited to '.github')
| -rw-r--r-- | .github/pull_request_template.md | 2 | ||||
| -rw-r--r-- | .github/workflows/ok-check.yml | 28 |
2 files changed, 21 insertions, 9 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 671241dfa7..c8d02f4ad4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -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. diff --git a/.github/workflows/ok-check.yml b/.github/workflows/ok-check.yml index df816ddd3f..0e2267c775 100644 --- a/.github/workflows/ok-check.yml +++ b/.github/workflows/ok-check.yml @@ -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 |
