exercism / exercism/cpp

Update shared files and make sure they stay in sync

オープン
#1,029 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
290
フォーク
244
PR マージ指標
30日以内にマージされた PR はありません

説明

Over at arm64-assembly we have a [templates](https://github.com/exercism/arm64-assembly/blob/main/templates) directory that holds files shared by all exercises plus a [script](https://github.com/exercism/arm64-assembly/blob/main/bin/update-from-templates) that synchronizes all exercises with the contents of that directory. This way we have a single source of truth in `templates`, the sync to all exercises happens automatically. By having the script return a non-zero exit code if it made any changes, we can also use that in a pre-commit check in CI.

We should setup something similar here as well and also use that chance to upgrade Catch2 and CMake scripts.

Note: Not having to copy files in the first place, but instead referencing a single source of truth wherever it is needed, would obviously be the much cleaner solution here, but due to the way the Exercism downloader works, for now exercises need to be self-contained.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by inspecting the repository's shared exercise files and CMake scripts, then compare the referenced templates directory and bin/update-from-templates script in arm64-assembly. The work is done when a single source of truth can synchronize all exercises, the sync script returns non-zero after changes for a pre-commit check, and Catch2 and CMake scripts are upgraded.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cmake, cpp
領域
build-system, testing
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。