diff --git a/io/.gitignore b/io/.gitignore new file mode 100644 index 00000000..f6089532 --- /dev/null +++ b/io/.gitignore @@ -0,0 +1,8 @@ +# C build +.transaction_lock +_bin +_build +_packs + +# Docio generated +docs/ diff --git a/io/README.md b/io/README.md new file mode 100644 index 00000000..df1c741b --- /dev/null +++ b/io/README.md @@ -0,0 +1,21 @@ +# Gilded Rose starting position in Io + +## Run the unit tests from the Command-Line + +```shell +io tests/correctness/run.io +``` + +## Run the TextTest Fixture from Command-Line + +```shell +io tests/correctness/TexttestFixture.io +``` + +### Specify Number of Days + +For e.g. 10 days: + +```shell +io tests/correctness/TexttestFixture.io 10 +``` diff --git a/io/package.json b/io/package.json new file mode 100644 index 00000000..8e17fd09 --- /dev/null +++ b/io/package.json @@ -0,0 +1,15 @@ +{ + "name": "gilded-rose-kata", + "version": "0.1.0", + "readme": "README.md", + "protos": [ + "GildedRose", + "Item" + ], + "dependencies": { + "libs": [], + "headers": [], + "protos": [], + "packages": [] + } +} \ No newline at end of file diff --git a/io/tests/correctness/run.io b/io/tests/correctness/run.io new file mode 100644 index 00000000..57d03a51 --- /dev/null +++ b/io/tests/correctness/run.io @@ -0,0 +1,2 @@ +#!/usr/bin/env io +TestSuite clone setPath(System launchPath) run