Skip to content

Commit 7b1eddd

Browse files
committed
Rename program -> solution
1 parent cc52f9c commit 7b1eddd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ Solving the 2020 edition of https://adventofcode.com/ in many languages, and tes
33

44
## Contributing
55
1. Make a branch. Example: `git checkout -b jonas/day-03`
6-
2. Write a program, in the language of your choice. Example: `vim day-03/solution/super-optimized.py`
7-
3. Test your program.
6+
2. Write a solution, in the language of your choice. Example: `vim day-03/solution/super-optimized.py`
7+
3. Test your solution.
88

99
```sh
1010
cat day-03/input | python3 day-03/solution/super-optimized.py | diff - day-03/output
1111
```
1212

13-
4. Make sure your program is automatically tested by the Github CI, by adding a line of code to `day-03/test.sh`.
13+
4. Make sure your solution is automatically tested by the Github CI, by adding a line of code to `day-03/test.sh`.
1414
*Example line:*
1515
```sh
1616
$DIR/../scripts/test-py.sh $DIR "solution/super-optimized.py"
@@ -19,13 +19,13 @@ $DIR/../scripts/test-py.sh $DIR "solution/super-optimized.py"
1919
5. Make a Pull Request to the `main` branch.
2020
6. Merge when the tests pass!
2121

22-
**How are programs tested?**
22+
**How are solutions tested?**
2323

24-
Every program gets the `input`-challenge delivered to `stdin`, and every program is expected to answer, by writing the `output`-answer to `stdout`.
24+
Every solution gets the `input`-challenge delivered to `stdin`, and every solution is expected to answer, by writing the `output`-answer to `stdout`.
2525

2626
```sh
2727
#!/bin/bash
28-
cat input | <run-program> | diff - output
28+
cat input | <run-solution> | diff - output
2929
```
3030

3131
**The CI does not support my favourite language. What do I do?**

0 commit comments

Comments
 (0)