Files
8th/libs
Erik Schierboom 3212d8b6f9 Fix test files (#163)
* Fix test files

* Fix
2024-04-30 14:10:56 +02:00
..
2024-04-30 14:10:56 +02:00

Common files

Every exercise needs a separate copy of the test library. This is due to the way exercises are delivered to students.

Let's keep this directory as the "master" version of the file, and we can deploy it to exercises with:

for ex in ./exercises/practice/*; do
    mkdir -p "$ex/libs/exercism"
    cp -v ./libs/exercism/test "$ex/libs/exercism/test"
done

To verify that all copies are in sync (should produce no output):

for ex in ./exercises/practice/*; do
    cmp "$ex/libs/exercism/test" ./libs/exercism/test
done