Skip to content

Commit 0b40016

Browse files
authored
Rename web/patches/*.c to *.c.txt so CodeQL doesn't try to build them (#160)
These are full-file replacements COPYed into the aalib source tree during the wasm Docker build, not a compilable project of their own -- but their .c extension was enough for CodeQL's C++ language autodetection to pick them up and attempt autobuild, which fails with "No supported build system detected" since there's no Makefile/CMake at the repo root for them to belong to. Claude-Session: https://claude.ai/code/session_01F6QKUwwiAxLNkYn4dv5TfW
1 parent 8511f83 commit 0b40016

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

web/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ RUN for f in src/aaslnkbd.c src/aaslang.c src/aacurkbd.c src/aacurmou.c src/aacu
6565
# it. Advertise DIM/BOLD/REVERSE too, and emit an attribute plane alongside
6666
# the character plane (see the file for the exact format web/worker.js
6767
# expects).
68-
COPY web/patches/aastdin.c src/aastdin.c
69-
COPY web/patches/aastdout.c src/aastdout.c
68+
COPY web/patches/aastdin.c.txt src/aastdin.c
69+
COPY web/patches/aastdout.c.txt src/aastdout.c
7070
RUN cp /usr/share/misc/config.guess /usr/share/misc/config.sub . \
7171
&& ./configure --host=wasm32-wasi --disable-shared --enable-static \
7272
&& make && make install

0 commit comments

Comments
 (0)