mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-19 04:15:06 +00:00
- r jq: jaq -> jq, rm foreach
This commit is contained in:
1 parent
a1e48be19f
commit
d5b430fde9
4 files changed
+51
-53
No files matched your search
+4
-4
@@ -1,6 +1,6 @@
|
||||
# Installs
|
||||
# Requirements
|
||||
|
||||
[install jaq](https://github.com/01mf02/jaq#installation) (latest development version)
|
||||
jq
|
||||
|
||||
# Failing Unit Test
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
# TextTest Fixture
|
||||
|
||||
```shell
|
||||
jaq -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"
|
||||
jq -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"
|
||||
```
|
||||
|
||||
Specify days (e.g. 10 days):
|
||||
|
||||
```shell
|
||||
jaq --arg days 10 -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"
|
||||
jq --arg days 10 -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)"
|
||||
```
|
||||
Reference in new issue
Block a user