Skip to content

Conversation

@andy1li
Copy link
Member

@andy1li andy1li commented Nov 12, 2025

Note

Bumps the C++ Docker base to gcc:15-trixie, adds compile/dependency tweaks, expands .gitignore, and fixes path quoting in run scripts.

  • Docker/build:
    • Update base image to gcc:15.2.0-trixie in dockerfiles/cpp-23.Dockerfile.
    • Track dependencies via CODECRAFTERS_DEPENDENCY_FILE_PATHS including CMakeLists.txt.
    • Add build step RUN .codecrafters/compile.sh.
    • Adjust cache behavior by removing move of vcpkg_installed.
  • Scripts:
    • Fix path quoting in exec lines across compiled_starters/cpp/.codecrafters/run.sh, starter_templates/cpp/code/.codecrafters/run.sh, solutions/cpp/01-vi6/code/.codecrafters/run.sh, and corresponding your_program.sh files.
  • .gitignore:
    • Replace minimal rules with comprehensive multi-platform ignores in compiled_starters/cpp/.gitignore, starter_templates/cpp/code/.gitignore, and solutions/cpp/01-vi6/code/.gitignore.
    • Add Raspberry Pi Pico patterns (*.uf2, *.dis) and stop ignoring build/ while keeping vcpkg_installed.

Written by Cursor Bugbot for commit dce8917. This will update automatically on new commits. Configure here.

…arity

- Added comprehensive entries to .gitignore files across multiple directories to exclude unnecessary files for Windows, Linux, MacOS, Android, and various IDEs.
- Updated script files to ensure proper execution paths using `dirname "$0"` for better reliability.
- Modified Dockerfile to include additional dependency paths and updated the base image to gcc:15.2.0-trixie.
- Included specific object and disassembler file types for Raspberry Pi Pico in .gitignore.
@andy1li andy1li self-assigned this Nov 12, 2025
@linear
Copy link

linear bot commented Nov 12, 2025

@andy1li andy1li merged commit 82fb9ca into main Nov 12, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants