Add Gleam implementation (#548)

* Add Gleam implementation
This commit is contained in:
Barry Moore authored and GitHub committed 2024-06-09 21:37:41 +02:00
1 parent 48159d5531
commit 717e2a8c7b
7 files changed
+244

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# Gilded Rose starting position in Gleam
I assume you have [installed](https://gleam.run/getting-started/installing/) `gleam` on your system.
## Run unit tests from the command line
```sh
$ gleam test
```
## Get the TextTest fixture on the command line
Execute it on the command line with an argument for the number of days:
```sh
$ gleam run -- --days=30
```
Compare the output to [stdout.gr](../texttests/ThirtyDays/stdout.gr) for validation.
There are instructions in the [TextTest Readme](../texttests/README.md) for setting up TextTest.