mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-17 11:25:04 +00:00
chore(haskell): update base and add stack file
This commit is contained in:
1 parent
8a910c446d
commit
14215d090a
6 files changed
+16
-32
No files matched your search
+9
-4
@@ -1,14 +1,19 @@
|
||||
# Haskell port of the Gilded-Rose Kata
|
||||
|
||||
This is a Haskell port of the *Gilded-Rose-Kata*. For updates and pull-request
|
||||
on this haskell port go to https://github.com/sheyll/gilded-rose-haskell
|
||||
This is a Haskell port of the *Gilded-Rose-Kata*.
|
||||
|
||||
## Prerequisite
|
||||
|
||||
If you don't have a recent Stack version installed in your system, follow the
|
||||
[installation instructions](https://docs.haskellstack.org/en/stable/install_and_upgrade/)
|
||||
for your operating system.
|
||||
|
||||
## Building and Running
|
||||
|
||||
Run `./install_deps.sh` initially, then `./test.sh` to execute the tests after
|
||||
Run `stack build` initially, then `stack test` to execute the tests after
|
||||
each refactoring.
|
||||
|
||||
To execute the program run `./run.sh [days]` where `[days]` denotes an optional
|
||||
To execute the program run `stack run [days]` where `[days]` denotes an optional
|
||||
parameter for the number of days to simulate.
|
||||
|
||||
Tests are in `test/GildedRoseSpec.hs`. Refer to http://hspec.github.io/ for
|
||||
|
||||
Reference in new issue
Block a user