From 1406987c447442958085f0b710ee2b381147b785 Mon Sep 17 00:00:00 2001 From: Peter Kofler Date: Fri, 13 Dec 2024 00:27:13 +0100 Subject: [PATCH] Empty Io project. --- io/.gitignore | 8 ++++++++ io/README.md | 21 +++++++++++++++++++++ io/package.json | 15 +++++++++++++++ io/tests/correctness/run.io | 2 ++ 4 files changed, 46 insertions(+) create mode 100644 io/.gitignore create mode 100644 io/README.md create mode 100644 io/package.json create mode 100644 io/tests/correctness/run.io 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