GildedRose-Refactoring-Kata/odin
2025-05-04 13:29:08 +02:00
..
gilded_rose add Odin lang 2025-05-04 13:29:08 +02:00
tests add Odin lang 2025-05-04 13:29:08 +02:00
.gitignore add Odin lang 2025-05-04 13:29:08 +02:00
README.md add Odin lang 2025-05-04 13:29:08 +02:00

Gilded Rose starting position in Odin

Learn how to install Odin on your system here

Run unit tests from the command line

$ odin test tests

Run the TextTest fixture on the command line

Build and install the executable

$ odin build gilded_rose

Execute it on the command line with an argument for the number of days:

macOS:

$ ./gilded_rose.bin 10

Windows:

$ ./gilded_rose.exe 10

Run the TextTest approval test that comes with this project

There are instructions in the TextTest Readme for setting up TextTest. You will need to specify the executable in config.gr. Uncomment this line to use it:

#executable:${TEXTTEST_HOME}/odin/gilded_rose(include your OS executable extension here)