From b607644bde1b94f36559d8b4d0687a40d3cb5753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingy=20d=C3=B6t=20Net?= Date: Thu, 10 Oct 2024 14:01:04 -0700 Subject: [PATCH 1/5] Update for 0.1.80 --- .github/workflows/test.yml | 2 +- common/gnumakefile.mk | 2 +- common/meta-makefile.mk | 2 +- exercises/practice/acronym/.meta/Makefile | 2 +- exercises/practice/acronym/GNUmakefile | 2 +- exercises/practice/all-your-base/.meta/Makefile | 2 +- exercises/practice/all-your-base/GNUmakefile | 2 +- exercises/practice/allergies/.meta/Makefile | 2 +- exercises/practice/allergies/GNUmakefile | 2 +- exercises/practice/anagram/.meta/Makefile | 2 +- exercises/practice/anagram/GNUmakefile | 2 +- exercises/practice/armstrong-numbers/.meta/Makefile | 2 +- exercises/practice/armstrong-numbers/GNUmakefile | 2 +- exercises/practice/atbash-cipher/.meta/Makefile | 2 +- exercises/practice/atbash-cipher/GNUmakefile | 2 +- exercises/practice/bank-account/.meta/Makefile | 2 +- exercises/practice/bank-account/GNUmakefile | 2 +- exercises/practice/binary-search/.meta/Makefile | 2 +- exercises/practice/binary-search/GNUmakefile | 2 +- exercises/practice/bob/.meta/Makefile | 2 +- exercises/practice/bob/GNUmakefile | 2 +- exercises/practice/bottle-song/.meta/Makefile | 2 +- exercises/practice/bottle-song/GNUmakefile | 2 +- exercises/practice/circular-buffer/.meta/Makefile | 2 +- exercises/practice/circular-buffer/GNUmakefile | 2 +- exercises/practice/collatz-conjecture/.meta/Makefile | 2 +- exercises/practice/collatz-conjecture/GNUmakefile | 2 +- exercises/practice/darts/.meta/Makefile | 2 +- exercises/practice/darts/GNUmakefile | 2 +- exercises/practice/diamond/.meta/Makefile | 2 +- exercises/practice/diamond/GNUmakefile | 2 +- exercises/practice/difference-of-squares/.meta/Makefile | 2 +- exercises/practice/difference-of-squares/GNUmakefile | 2 +- exercises/practice/eliuds-eggs/.meta/Makefile | 2 +- exercises/practice/eliuds-eggs/GNUmakefile | 2 +- exercises/practice/etl/.meta/Makefile | 2 +- exercises/practice/etl/GNUmakefile | 2 +- exercises/practice/grains/.meta/Makefile | 2 +- exercises/practice/grains/GNUmakefile | 2 +- exercises/practice/hamming/.meta/Makefile | 2 +- exercises/practice/hamming/GNUmakefile | 2 +- exercises/practice/hello-world/.meta/Makefile | 2 +- exercises/practice/hello-world/GNUmakefile | 2 +- exercises/practice/isogram/.meta/Makefile | 2 +- exercises/practice/isogram/GNUmakefile | 2 +- exercises/practice/largest-series-product/.meta/Makefile | 2 +- exercises/practice/largest-series-product/GNUmakefile | 2 +- exercises/practice/leap/.meta/Makefile | 2 +- exercises/practice/leap/GNUmakefile | 2 +- exercises/practice/list-ops/.meta/Makefile | 2 +- exercises/practice/list-ops/GNUmakefile | 2 +- exercises/practice/luhn/.meta/Makefile | 2 +- exercises/practice/luhn/GNUmakefile | 2 +- exercises/practice/matching-brackets/.meta/Makefile | 2 +- exercises/practice/matching-brackets/GNUmakefile | 2 +- exercises/practice/minesweeper/.meta/Makefile | 2 +- exercises/practice/minesweeper/GNUmakefile | 2 +- exercises/practice/nth-prime/.meta/Makefile | 2 +- exercises/practice/nth-prime/GNUmakefile | 2 +- exercises/practice/nucleotide-count/.meta/Makefile | 2 +- exercises/practice/nucleotide-count/GNUmakefile | 2 +- exercises/practice/pangram/.meta/Makefile | 2 +- exercises/practice/pangram/GNUmakefile | 2 +- exercises/practice/pascals-triangle/.meta/Makefile | 2 +- exercises/practice/pascals-triangle/GNUmakefile | 2 +- exercises/practice/perfect-numbers/.meta/Makefile | 2 +- exercises/practice/perfect-numbers/GNUmakefile | 2 +- exercises/practice/phone-number/.meta/Makefile | 2 +- exercises/practice/phone-number/GNUmakefile | 2 +- exercises/practice/pig-latin/.meta/Makefile | 2 +- exercises/practice/pig-latin/GNUmakefile | 2 +- exercises/practice/protein-translation/.meta/Makefile | 2 +- exercises/practice/protein-translation/GNUmakefile | 2 +- exercises/practice/queen-attack/.meta/Makefile | 2 +- exercises/practice/queen-attack/GNUmakefile | 2 +- exercises/practice/raindrops/.meta/Makefile | 2 +- exercises/practice/raindrops/GNUmakefile | 2 +- exercises/practice/resistor-color-duo/.meta/Makefile | 2 +- exercises/practice/resistor-color-duo/GNUmakefile | 2 +- exercises/practice/resistor-color/.meta/Makefile | 2 +- exercises/practice/resistor-color/GNUmakefile | 2 +- exercises/practice/reverse-string/.meta/Makefile | 2 +- exercises/practice/reverse-string/GNUmakefile | 2 +- exercises/practice/rna-transcription/.meta/Makefile | 2 +- exercises/practice/rna-transcription/GNUmakefile | 2 +- exercises/practice/robot-simulator/.meta/Makefile | 2 +- exercises/practice/robot-simulator/GNUmakefile | 2 +- exercises/practice/roman-numerals/.meta/Makefile | 2 +- exercises/practice/roman-numerals/GNUmakefile | 2 +- exercises/practice/rotational-cipher/.meta/Makefile | 2 +- exercises/practice/rotational-cipher/GNUmakefile | 2 +- exercises/practice/run-length-encoding/.meta/Makefile | 2 +- exercises/practice/run-length-encoding/GNUmakefile | 2 +- exercises/practice/scrabble-score/.meta/Makefile | 2 +- exercises/practice/scrabble-score/GNUmakefile | 2 +- exercises/practice/secret-handshake/.meta/Makefile | 2 +- exercises/practice/secret-handshake/GNUmakefile | 2 +- exercises/practice/sieve/.meta/Makefile | 2 +- exercises/practice/sieve/GNUmakefile | 2 +- exercises/practice/space-age/.meta/Makefile | 2 +- exercises/practice/space-age/GNUmakefile | 2 +- exercises/practice/spiral-matrix/.meta/Makefile | 2 +- exercises/practice/spiral-matrix/GNUmakefile | 2 +- exercises/practice/square-root/.meta/Makefile | 2 +- exercises/practice/square-root/GNUmakefile | 2 +- exercises/practice/sum-of-multiples/.meta/Makefile | 2 +- exercises/practice/sum-of-multiples/GNUmakefile | 2 +- exercises/practice/triangle/.meta/Makefile | 2 +- exercises/practice/triangle/GNUmakefile | 2 +- exercises/practice/two-bucket/.meta/Makefile | 2 +- exercises/practice/two-bucket/GNUmakefile | 2 +- exercises/practice/two-fer/.meta/Makefile | 2 +- exercises/practice/two-fer/GNUmakefile | 2 +- exercises/practice/word-count/.meta/Makefile | 2 +- exercises/practice/word-count/GNUmakefile | 2 +- exercises/practice/yacht/.meta/Makefile | 2 +- exercises/practice/yacht/GNUmakefile | 2 +- 117 files changed, 117 insertions(+), 117 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdbeb81..3ac1f2b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ defaults: jobs: test: runs-on: ubuntu-latest - container: ingy/exercism-yamlscript-test-runner:0.1.79 + container: ingy/exercism-yamlscript-test-runner:0.1.80 steps: - name: Checkout repository diff --git a/common/gnumakefile.mk b/common/gnumakefile.mk index e8fb5be..78a395a 100644 --- a/common/gnumakefile.mk +++ b/common/gnumakefile.mk @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/common/meta-makefile.mk b/common/meta-makefile.mk index 08aff24..9314ec0 100644 --- a/common/meta-makefile.mk +++ b/common/meta-makefile.mk @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/acronym/.meta/Makefile b/exercises/practice/acronym/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/acronym/.meta/Makefile +++ b/exercises/practice/acronym/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/acronym/GNUmakefile b/exercises/practice/acronym/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/acronym/GNUmakefile +++ b/exercises/practice/acronym/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/all-your-base/.meta/Makefile b/exercises/practice/all-your-base/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/all-your-base/.meta/Makefile +++ b/exercises/practice/all-your-base/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/all-your-base/GNUmakefile b/exercises/practice/all-your-base/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/all-your-base/GNUmakefile +++ b/exercises/practice/all-your-base/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/allergies/.meta/Makefile b/exercises/practice/allergies/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/allergies/.meta/Makefile +++ b/exercises/practice/allergies/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/allergies/GNUmakefile b/exercises/practice/allergies/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/allergies/GNUmakefile +++ b/exercises/practice/allergies/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/anagram/.meta/Makefile b/exercises/practice/anagram/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/anagram/.meta/Makefile +++ b/exercises/practice/anagram/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/anagram/GNUmakefile b/exercises/practice/anagram/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/anagram/GNUmakefile +++ b/exercises/practice/anagram/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/armstrong-numbers/.meta/Makefile b/exercises/practice/armstrong-numbers/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/armstrong-numbers/.meta/Makefile +++ b/exercises/practice/armstrong-numbers/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/armstrong-numbers/GNUmakefile b/exercises/practice/armstrong-numbers/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/armstrong-numbers/GNUmakefile +++ b/exercises/practice/armstrong-numbers/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/atbash-cipher/.meta/Makefile b/exercises/practice/atbash-cipher/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/atbash-cipher/.meta/Makefile +++ b/exercises/practice/atbash-cipher/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/atbash-cipher/GNUmakefile b/exercises/practice/atbash-cipher/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/atbash-cipher/GNUmakefile +++ b/exercises/practice/atbash-cipher/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/bank-account/.meta/Makefile b/exercises/practice/bank-account/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/bank-account/.meta/Makefile +++ b/exercises/practice/bank-account/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/bank-account/GNUmakefile b/exercises/practice/bank-account/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/bank-account/GNUmakefile +++ b/exercises/practice/bank-account/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/binary-search/.meta/Makefile b/exercises/practice/binary-search/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/binary-search/.meta/Makefile +++ b/exercises/practice/binary-search/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/binary-search/GNUmakefile b/exercises/practice/binary-search/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/binary-search/GNUmakefile +++ b/exercises/practice/binary-search/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/bob/.meta/Makefile b/exercises/practice/bob/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/bob/.meta/Makefile +++ b/exercises/practice/bob/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/bob/GNUmakefile b/exercises/practice/bob/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/bob/GNUmakefile +++ b/exercises/practice/bob/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/bottle-song/.meta/Makefile b/exercises/practice/bottle-song/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/bottle-song/.meta/Makefile +++ b/exercises/practice/bottle-song/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/bottle-song/GNUmakefile b/exercises/practice/bottle-song/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/bottle-song/GNUmakefile +++ b/exercises/practice/bottle-song/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/circular-buffer/.meta/Makefile b/exercises/practice/circular-buffer/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/circular-buffer/.meta/Makefile +++ b/exercises/practice/circular-buffer/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/circular-buffer/GNUmakefile b/exercises/practice/circular-buffer/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/circular-buffer/GNUmakefile +++ b/exercises/practice/circular-buffer/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/collatz-conjecture/.meta/Makefile b/exercises/practice/collatz-conjecture/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/collatz-conjecture/.meta/Makefile +++ b/exercises/practice/collatz-conjecture/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/collatz-conjecture/GNUmakefile b/exercises/practice/collatz-conjecture/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/collatz-conjecture/GNUmakefile +++ b/exercises/practice/collatz-conjecture/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/darts/.meta/Makefile b/exercises/practice/darts/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/darts/.meta/Makefile +++ b/exercises/practice/darts/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/darts/GNUmakefile b/exercises/practice/darts/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/darts/GNUmakefile +++ b/exercises/practice/darts/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/diamond/.meta/Makefile b/exercises/practice/diamond/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/diamond/.meta/Makefile +++ b/exercises/practice/diamond/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/diamond/GNUmakefile b/exercises/practice/diamond/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/diamond/GNUmakefile +++ b/exercises/practice/diamond/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/difference-of-squares/.meta/Makefile b/exercises/practice/difference-of-squares/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/difference-of-squares/.meta/Makefile +++ b/exercises/practice/difference-of-squares/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/difference-of-squares/GNUmakefile b/exercises/practice/difference-of-squares/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/difference-of-squares/GNUmakefile +++ b/exercises/practice/difference-of-squares/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/eliuds-eggs/.meta/Makefile b/exercises/practice/eliuds-eggs/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/eliuds-eggs/.meta/Makefile +++ b/exercises/practice/eliuds-eggs/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/eliuds-eggs/GNUmakefile b/exercises/practice/eliuds-eggs/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/eliuds-eggs/GNUmakefile +++ b/exercises/practice/eliuds-eggs/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/etl/.meta/Makefile b/exercises/practice/etl/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/etl/.meta/Makefile +++ b/exercises/practice/etl/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/etl/GNUmakefile b/exercises/practice/etl/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/etl/GNUmakefile +++ b/exercises/practice/etl/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/grains/.meta/Makefile b/exercises/practice/grains/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/grains/.meta/Makefile +++ b/exercises/practice/grains/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/grains/GNUmakefile b/exercises/practice/grains/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/grains/GNUmakefile +++ b/exercises/practice/grains/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/hamming/.meta/Makefile b/exercises/practice/hamming/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/hamming/.meta/Makefile +++ b/exercises/practice/hamming/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/hamming/GNUmakefile b/exercises/practice/hamming/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/hamming/GNUmakefile +++ b/exercises/practice/hamming/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/hello-world/.meta/Makefile b/exercises/practice/hello-world/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/hello-world/.meta/Makefile +++ b/exercises/practice/hello-world/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/hello-world/GNUmakefile b/exercises/practice/hello-world/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/hello-world/GNUmakefile +++ b/exercises/practice/hello-world/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/isogram/.meta/Makefile b/exercises/practice/isogram/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/isogram/.meta/Makefile +++ b/exercises/practice/isogram/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/isogram/GNUmakefile b/exercises/practice/isogram/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/isogram/GNUmakefile +++ b/exercises/practice/isogram/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/largest-series-product/.meta/Makefile b/exercises/practice/largest-series-product/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/largest-series-product/.meta/Makefile +++ b/exercises/practice/largest-series-product/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/largest-series-product/GNUmakefile b/exercises/practice/largest-series-product/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/largest-series-product/GNUmakefile +++ b/exercises/practice/largest-series-product/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/leap/.meta/Makefile b/exercises/practice/leap/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/leap/.meta/Makefile +++ b/exercises/practice/leap/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/leap/GNUmakefile b/exercises/practice/leap/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/leap/GNUmakefile +++ b/exercises/practice/leap/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/list-ops/.meta/Makefile b/exercises/practice/list-ops/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/list-ops/.meta/Makefile +++ b/exercises/practice/list-ops/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/list-ops/GNUmakefile b/exercises/practice/list-ops/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/list-ops/GNUmakefile +++ b/exercises/practice/list-ops/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/luhn/.meta/Makefile b/exercises/practice/luhn/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/luhn/.meta/Makefile +++ b/exercises/practice/luhn/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/luhn/GNUmakefile b/exercises/practice/luhn/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/luhn/GNUmakefile +++ b/exercises/practice/luhn/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/matching-brackets/.meta/Makefile b/exercises/practice/matching-brackets/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/matching-brackets/.meta/Makefile +++ b/exercises/practice/matching-brackets/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/matching-brackets/GNUmakefile b/exercises/practice/matching-brackets/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/matching-brackets/GNUmakefile +++ b/exercises/practice/matching-brackets/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/minesweeper/.meta/Makefile b/exercises/practice/minesweeper/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/minesweeper/.meta/Makefile +++ b/exercises/practice/minesweeper/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/minesweeper/GNUmakefile b/exercises/practice/minesweeper/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/minesweeper/GNUmakefile +++ b/exercises/practice/minesweeper/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/nth-prime/.meta/Makefile b/exercises/practice/nth-prime/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/nth-prime/.meta/Makefile +++ b/exercises/practice/nth-prime/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/nth-prime/GNUmakefile b/exercises/practice/nth-prime/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/nth-prime/GNUmakefile +++ b/exercises/practice/nth-prime/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/nucleotide-count/.meta/Makefile b/exercises/practice/nucleotide-count/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/nucleotide-count/.meta/Makefile +++ b/exercises/practice/nucleotide-count/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/nucleotide-count/GNUmakefile b/exercises/practice/nucleotide-count/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/nucleotide-count/GNUmakefile +++ b/exercises/practice/nucleotide-count/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/pangram/.meta/Makefile b/exercises/practice/pangram/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/pangram/.meta/Makefile +++ b/exercises/practice/pangram/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/pangram/GNUmakefile b/exercises/practice/pangram/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/pangram/GNUmakefile +++ b/exercises/practice/pangram/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/pascals-triangle/.meta/Makefile b/exercises/practice/pascals-triangle/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/pascals-triangle/.meta/Makefile +++ b/exercises/practice/pascals-triangle/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/pascals-triangle/GNUmakefile b/exercises/practice/pascals-triangle/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/pascals-triangle/GNUmakefile +++ b/exercises/practice/pascals-triangle/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/perfect-numbers/.meta/Makefile b/exercises/practice/perfect-numbers/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/perfect-numbers/.meta/Makefile +++ b/exercises/practice/perfect-numbers/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/perfect-numbers/GNUmakefile b/exercises/practice/perfect-numbers/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/perfect-numbers/GNUmakefile +++ b/exercises/practice/perfect-numbers/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/phone-number/.meta/Makefile b/exercises/practice/phone-number/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/phone-number/.meta/Makefile +++ b/exercises/practice/phone-number/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/phone-number/GNUmakefile b/exercises/practice/phone-number/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/phone-number/GNUmakefile +++ b/exercises/practice/phone-number/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/pig-latin/.meta/Makefile b/exercises/practice/pig-latin/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/pig-latin/.meta/Makefile +++ b/exercises/practice/pig-latin/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/pig-latin/GNUmakefile b/exercises/practice/pig-latin/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/pig-latin/GNUmakefile +++ b/exercises/practice/pig-latin/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/protein-translation/.meta/Makefile b/exercises/practice/protein-translation/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/protein-translation/.meta/Makefile +++ b/exercises/practice/protein-translation/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/protein-translation/GNUmakefile b/exercises/practice/protein-translation/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/protein-translation/GNUmakefile +++ b/exercises/practice/protein-translation/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/queen-attack/.meta/Makefile b/exercises/practice/queen-attack/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/queen-attack/.meta/Makefile +++ b/exercises/practice/queen-attack/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/queen-attack/GNUmakefile b/exercises/practice/queen-attack/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/queen-attack/GNUmakefile +++ b/exercises/practice/queen-attack/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/raindrops/.meta/Makefile b/exercises/practice/raindrops/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/raindrops/.meta/Makefile +++ b/exercises/practice/raindrops/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/raindrops/GNUmakefile b/exercises/practice/raindrops/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/raindrops/GNUmakefile +++ b/exercises/practice/raindrops/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/resistor-color-duo/.meta/Makefile b/exercises/practice/resistor-color-duo/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/resistor-color-duo/.meta/Makefile +++ b/exercises/practice/resistor-color-duo/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/resistor-color-duo/GNUmakefile b/exercises/practice/resistor-color-duo/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/resistor-color-duo/GNUmakefile +++ b/exercises/practice/resistor-color-duo/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/resistor-color/.meta/Makefile b/exercises/practice/resistor-color/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/resistor-color/.meta/Makefile +++ b/exercises/practice/resistor-color/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/resistor-color/GNUmakefile b/exercises/practice/resistor-color/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/resistor-color/GNUmakefile +++ b/exercises/practice/resistor-color/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/reverse-string/.meta/Makefile b/exercises/practice/reverse-string/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/reverse-string/.meta/Makefile +++ b/exercises/practice/reverse-string/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/reverse-string/GNUmakefile b/exercises/practice/reverse-string/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/reverse-string/GNUmakefile +++ b/exercises/practice/reverse-string/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/rna-transcription/.meta/Makefile b/exercises/practice/rna-transcription/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/rna-transcription/.meta/Makefile +++ b/exercises/practice/rna-transcription/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/rna-transcription/GNUmakefile b/exercises/practice/rna-transcription/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/rna-transcription/GNUmakefile +++ b/exercises/practice/rna-transcription/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/robot-simulator/.meta/Makefile b/exercises/practice/robot-simulator/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/robot-simulator/.meta/Makefile +++ b/exercises/practice/robot-simulator/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/robot-simulator/GNUmakefile b/exercises/practice/robot-simulator/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/robot-simulator/GNUmakefile +++ b/exercises/practice/robot-simulator/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/roman-numerals/.meta/Makefile b/exercises/practice/roman-numerals/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/roman-numerals/.meta/Makefile +++ b/exercises/practice/roman-numerals/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/roman-numerals/GNUmakefile b/exercises/practice/roman-numerals/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/roman-numerals/GNUmakefile +++ b/exercises/practice/roman-numerals/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/rotational-cipher/.meta/Makefile b/exercises/practice/rotational-cipher/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/rotational-cipher/.meta/Makefile +++ b/exercises/practice/rotational-cipher/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/rotational-cipher/GNUmakefile b/exercises/practice/rotational-cipher/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/rotational-cipher/GNUmakefile +++ b/exercises/practice/rotational-cipher/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/run-length-encoding/.meta/Makefile b/exercises/practice/run-length-encoding/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/run-length-encoding/.meta/Makefile +++ b/exercises/practice/run-length-encoding/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/run-length-encoding/GNUmakefile b/exercises/practice/run-length-encoding/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/run-length-encoding/GNUmakefile +++ b/exercises/practice/run-length-encoding/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/scrabble-score/.meta/Makefile b/exercises/practice/scrabble-score/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/scrabble-score/.meta/Makefile +++ b/exercises/practice/scrabble-score/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/scrabble-score/GNUmakefile b/exercises/practice/scrabble-score/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/scrabble-score/GNUmakefile +++ b/exercises/practice/scrabble-score/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/secret-handshake/.meta/Makefile b/exercises/practice/secret-handshake/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/secret-handshake/.meta/Makefile +++ b/exercises/practice/secret-handshake/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/secret-handshake/GNUmakefile b/exercises/practice/secret-handshake/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/secret-handshake/GNUmakefile +++ b/exercises/practice/secret-handshake/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/sieve/.meta/Makefile b/exercises/practice/sieve/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/sieve/.meta/Makefile +++ b/exercises/practice/sieve/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/sieve/GNUmakefile b/exercises/practice/sieve/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/sieve/GNUmakefile +++ b/exercises/practice/sieve/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/space-age/.meta/Makefile b/exercises/practice/space-age/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/space-age/.meta/Makefile +++ b/exercises/practice/space-age/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/space-age/GNUmakefile b/exercises/practice/space-age/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/space-age/GNUmakefile +++ b/exercises/practice/space-age/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/spiral-matrix/.meta/Makefile b/exercises/practice/spiral-matrix/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/spiral-matrix/.meta/Makefile +++ b/exercises/practice/spiral-matrix/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/spiral-matrix/GNUmakefile b/exercises/practice/spiral-matrix/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/spiral-matrix/GNUmakefile +++ b/exercises/practice/spiral-matrix/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/square-root/.meta/Makefile b/exercises/practice/square-root/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/square-root/.meta/Makefile +++ b/exercises/practice/square-root/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/square-root/GNUmakefile b/exercises/practice/square-root/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/square-root/GNUmakefile +++ b/exercises/practice/square-root/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/sum-of-multiples/.meta/Makefile b/exercises/practice/sum-of-multiples/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/sum-of-multiples/.meta/Makefile +++ b/exercises/practice/sum-of-multiples/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/sum-of-multiples/GNUmakefile b/exercises/practice/sum-of-multiples/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/sum-of-multiples/GNUmakefile +++ b/exercises/practice/sum-of-multiples/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/triangle/.meta/Makefile b/exercises/practice/triangle/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/triangle/.meta/Makefile +++ b/exercises/practice/triangle/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/triangle/GNUmakefile b/exercises/practice/triangle/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/triangle/GNUmakefile +++ b/exercises/practice/triangle/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/two-bucket/.meta/Makefile b/exercises/practice/two-bucket/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/two-bucket/.meta/Makefile +++ b/exercises/practice/two-bucket/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/two-bucket/GNUmakefile b/exercises/practice/two-bucket/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/two-bucket/GNUmakefile +++ b/exercises/practice/two-bucket/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/two-fer/.meta/Makefile b/exercises/practice/two-fer/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/two-fer/.meta/Makefile +++ b/exercises/practice/two-fer/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/two-fer/GNUmakefile b/exercises/practice/two-fer/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/two-fer/GNUmakefile +++ b/exercises/practice/two-fer/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/word-count/.meta/Makefile b/exercises/practice/word-count/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/word-count/.meta/Makefile +++ b/exercises/practice/word-count/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/word-count/GNUmakefile b/exercises/practice/word-count/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/word-count/GNUmakefile +++ b/exercises/practice/word-count/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) diff --git a/exercises/practice/yacht/.meta/Makefile b/exercises/practice/yacht/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/yacht/.meta/Makefile +++ b/exercises/practice/yacht/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/yacht/GNUmakefile b/exercises/practice/yacht/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/yacht/GNUmakefile +++ b/exercises/practice/yacht/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) From 7c087be6b348f265cbb4ec3f9447a22d8a886813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingy=20d=C3=B6t=20Net?= Date: Fri, 13 Sep 2024 22:11:44 -0700 Subject: [PATCH 2/5] Implement exercise 'food-chain' --- config.json | 8 + config.yaml | 7 + .../practice/food-chain/.docs/instructions.md | 64 +++++++ .../food-chain/.meta/.yamlscript/exercise.mk | 1 + exercises/practice/food-chain/.meta/Makefile | 28 +++ .../practice/food-chain/.meta/config.json | 23 +++ .../food-chain/.meta/food-chain-test.ys | 173 ++++++++++++++++++ .../practice/food-chain/.meta/food-chain.ys | 40 ++++ .../practice/food-chain/.meta/tests.toml | 40 ++++ .../food-chain/.yamlscript/exercise.mk | 1 + .../.yamlscript/exercism-ys-installer | 127 +++++++++++++ exercises/practice/food-chain/GNUmakefile | 49 +++++ exercises/practice/food-chain/Makefile | 8 + .../practice/food-chain/food-chain-test.ys | 163 +++++++++++++++++ exercises/practice/food-chain/food-chain.ys | 4 + 15 files changed, 736 insertions(+) create mode 100644 exercises/practice/food-chain/.docs/instructions.md create mode 100644 exercises/practice/food-chain/.meta/.yamlscript/exercise.mk create mode 100644 exercises/practice/food-chain/.meta/Makefile create mode 100644 exercises/practice/food-chain/.meta/config.json create mode 100644 exercises/practice/food-chain/.meta/food-chain-test.ys create mode 100644 exercises/practice/food-chain/.meta/food-chain.ys create mode 100644 exercises/practice/food-chain/.meta/tests.toml create mode 100644 exercises/practice/food-chain/.yamlscript/exercise.mk create mode 100644 exercises/practice/food-chain/.yamlscript/exercism-ys-installer create mode 100644 exercises/practice/food-chain/GNUmakefile create mode 100644 exercises/practice/food-chain/Makefile create mode 100644 exercises/practice/food-chain/food-chain-test.ys create mode 100644 exercises/practice/food-chain/food-chain.ys diff --git a/config.json b/config.json index b364906..4f21bc3 100644 --- a/config.json +++ b/config.json @@ -436,6 +436,14 @@ "prerequisites": [], "difficulty": 5 }, + { + "slug": "food-chain", + "name": "Food Chain", + "uuid": "fb4bd2e9-9ca0-41e3-90c7-1adad92d0dd1", + "practices": [], + "prerequisites": [], + "difficulty": 5 + }, { "slug": "matching-brackets", "name": "Matching Brackets", diff --git a/config.yaml b/config.yaml index f930bcf..40a5be2 100644 --- a/config.yaml +++ b/config.yaml @@ -393,6 +393,13 @@ exercises: prerequisites: [] difficulty: 5 + - slug: food-chain + name: Food Chain + uuid: fb4bd2e9-9ca0-41e3-90c7-1adad92d0dd1 + practices: [] + prerequisites: [] + difficulty: 5 + - slug: matching-brackets name: Matching Brackets uuid: a6c79db6-925c-45c3-8a59-aa9d96a4740b diff --git a/exercises/practice/food-chain/.docs/instructions.md b/exercises/practice/food-chain/.docs/instructions.md new file mode 100644 index 0000000..125820e --- /dev/null +++ b/exercises/practice/food-chain/.docs/instructions.md @@ -0,0 +1,64 @@ +# Instructions + +Generate the lyrics of the song 'I Know an Old Lady Who Swallowed a Fly'. + +While you could copy/paste the lyrics, or read them from a file, this problem is much more interesting if you approach it algorithmically. + +This is a [cumulative song][cumulative-song] of unknown origin. + +This is one of many common variants. + +```text +I know an old lady who swallowed a fly. +I don't know why she swallowed the fly. Perhaps she'll die. + +I know an old lady who swallowed a spider. +It wriggled and jiggled and tickled inside her. +She swallowed the spider to catch the fly. +I don't know why she swallowed the fly. Perhaps she'll die. + +I know an old lady who swallowed a bird. +How absurd to swallow a bird! +She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. +She swallowed the spider to catch the fly. +I don't know why she swallowed the fly. Perhaps she'll die. + +I know an old lady who swallowed a cat. +Imagine that, to swallow a cat! +She swallowed the cat to catch the bird. +She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. +She swallowed the spider to catch the fly. +I don't know why she swallowed the fly. Perhaps she'll die. + +I know an old lady who swallowed a dog. +What a hog, to swallow a dog! +She swallowed the dog to catch the cat. +She swallowed the cat to catch the bird. +She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. +She swallowed the spider to catch the fly. +I don't know why she swallowed the fly. Perhaps she'll die. + +I know an old lady who swallowed a goat. +Just opened her throat and swallowed a goat! +She swallowed the goat to catch the dog. +She swallowed the dog to catch the cat. +She swallowed the cat to catch the bird. +She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. +She swallowed the spider to catch the fly. +I don't know why she swallowed the fly. Perhaps she'll die. + +I know an old lady who swallowed a cow. +I don't know how she swallowed a cow! +She swallowed the cow to catch the goat. +She swallowed the goat to catch the dog. +She swallowed the dog to catch the cat. +She swallowed the cat to catch the bird. +She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. +She swallowed the spider to catch the fly. +I don't know why she swallowed the fly. Perhaps she'll die. + +I know an old lady who swallowed a horse. +She's dead, of course! +``` + +[cumulative-song]: https://en.wikipedia.org/wiki/Cumulative_song diff --git a/exercises/practice/food-chain/.meta/.yamlscript/exercise.mk b/exercises/practice/food-chain/.meta/.yamlscript/exercise.mk new file mode 100644 index 0000000..2506034 --- /dev/null +++ b/exercises/practice/food-chain/.meta/.yamlscript/exercise.mk @@ -0,0 +1 @@ +YS_VERSION := 0.1.75 diff --git a/exercises/practice/food-chain/.meta/Makefile b/exercises/practice/food-chain/.meta/Makefile new file mode 100644 index 0000000..08aff24 --- /dev/null +++ b/exercises/practice/food-chain/.meta/Makefile @@ -0,0 +1,28 @@ +SHELL := bash + +BASE := $(shell pwd) + +export YS_VERSION := 0.1.79 + +YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) + +YS_LOCAL_BIN := $(YS_LOCAL_PREFIX)/bin + +YS_BIN := $(YS_LOCAL_BIN)/ys-$(YS_VERSION) + +TEST_FILE ?= $(wildcard *-test.ys) + + +export PATH := $(YS_LOCAL_BIN):$(PATH) + +export YSPATH := $(BASE) + + +default: + +test: $(YS_BIN) + prove -v $(TEST_FILE) + +$(YS_BIN): + curl -s https://yamlscript.org/install | \ + BIN=1 VERSION=$(YS_VERSION) PREFIX=$(YS_LOCAL_PREFIX) bash >/dev/null diff --git a/exercises/practice/food-chain/.meta/config.json b/exercises/practice/food-chain/.meta/config.json new file mode 100644 index 0000000..9ee23df --- /dev/null +++ b/exercises/practice/food-chain/.meta/config.json @@ -0,0 +1,23 @@ +{ + "authors": [ + "ingydotnet" + ], + "files": { + "solution": [ + "food-chain.ys" + ], + "test": [ + "food-chain-test.ys", + "GNUmakefile", + "Makefile", + ".yamlscript/exercise.mk", + ".yamlscript/exercism-ys-installer" + ], + "example": [ + ".meta/food-chain.ys" + ] + }, + "blurb": "Generate the lyrics of the song 'I Know an Old Lady Who Swallowed a Fly'.", + "source": "Wikipedia", + "source_url": "https://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly" +} diff --git a/exercises/practice/food-chain/.meta/food-chain-test.ys b/exercises/practice/food-chain/.meta/food-chain-test.ys new file mode 100644 index 0000000..404d798 --- /dev/null +++ b/exercises/practice/food-chain/.meta/food-chain-test.ys @@ -0,0 +1,173 @@ +#!/usr/bin/env ys-0 + +require ys::taptest: :all + +use: food-chain + +# JSON doesn't allow for multi-line strings, so all verses are presented +# here as arrays of strings. It's up to the test generator to join the +# lines together with line breaks. +# Some languages test for the verse() method, which takes a start verse +# and optional end verse, but other languages have only tested for the full poem. +# For those languages in the latter category, you may wish to only +# implement the full song test and leave the rest alone, ignoring the start +# and end verse fields. + +test:: +- name: Fly + code: recite(1 1) + want: + - I know an old lady who swallowed a fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + uuid: 751dce68-9412-496e-b6e8-855998c56166 + +- name: Spider + code: recite(2 2) + want: + - I know an old lady who swallowed a spider. + - It wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + uuid: 6c56f861-0c5e-4907-9a9d-b2efae389379 + +- name: Bird + code: recite(3 3) + want: + - I know an old lady who swallowed a bird. + - How absurd to swallow a bird! + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + uuid: 3edf5f33-bef1-4e39-ae67-ca5eb79203fa + +- name: Cat + code: recite(4 4) + want: + - I know an old lady who swallowed a cat. + - Imagine that, to swallow a cat! + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + uuid: e866a758-e1ff-400e-9f35-f27f28cc288f + +- name: Dog + code: recite(5 5) + want: + - I know an old lady who swallowed a dog. + - What a hog, to swallow a dog! + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + uuid: 3f02c30e-496b-4b2a-8491-bc7e2953cafb + +- name: Goat + code: recite(6 6) + want: + - I know an old lady who swallowed a goat. + - Just opened her throat and swallowed a goat! + - She swallowed the goat to catch the dog. + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + uuid: 4b3fd221-01ea-46e0-825b-5734634fbc59 + +- name: Cow + code: recite(7 7) + want: + - I know an old lady who swallowed a cow. + - I don't know how she swallowed a cow! + - She swallowed the cow to catch the goat. + - She swallowed the goat to catch the dog. + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + uuid: 1b707da9-7001-4fac-941f-22ad9c7a65d4 + +- name: Horse + code: recite(8 8) + want: + - I know an old lady who swallowed a horse. + - She's dead, of course! + uuid: 3cb10d46-ae4e-4d2c-9296-83c9ffc04cdc + +- name: Multiple verses + code: recite(1 3) + want: + - I know an old lady who swallowed a fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a spider. + - It wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a bird. + - How absurd to swallow a bird! + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + uuid: 22b863d5-17e4-4d1e-93e4-617329a5c050 + +- name: Full song + code: recite(1 8) + want: + - I know an old lady who swallowed a fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a spider. + - It wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a bird. + - How absurd to swallow a bird! + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a cat. + - Imagine that, to swallow a cat! + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a dog. + - What a hog, to swallow a dog! + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a goat. + - Just opened her throat and swallowed a goat! + - She swallowed the goat to catch the dog. + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a cow. + - I don't know how she swallowed a cow! + - She swallowed the cow to catch the goat. + - She swallowed the goat to catch the dog. + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a horse. + - She's dead, of course! + uuid: e626b32b-745c-4101-bcbd-3b13456893db + +done: 10 diff --git a/exercises/practice/food-chain/.meta/food-chain.ys b/exercises/practice/food-chain/.meta/food-chain.ys new file mode 100644 index 0000000..dc7ba46 --- /dev/null +++ b/exercises/practice/food-chain/.meta/food-chain.ys @@ -0,0 +1,40 @@ +!yamlscript/v0 + +barn =:: +- fly: I don't know why she swallowed the fly. Perhaps she'll die. +- spider: It wriggled and jiggled and tickled inside her. +- bird: How absurd to swallow a bird! +- cat: Imagine that, to swallow a cat! +- dog: What a hog, to swallow a dog! +- goat: Just opened her throat and swallowed a goat! +- cow: I don't know how she swallowed a cow! +- horse: She's dead, of course! + +defn recite(start-verse end-verse): + drop-last: + reduce: add-verse [] (start-verse.-- .. end-verse.--) + +defn add-verse(lines verse): + animal =: barn.$verse.first().0 + lines =: conj(lines "I know an old lady who swallowed a $animal.") + lines =: conj(lines barn.$verse.first().1) + lines =: + if 0 < verse < barn.#.--: + conj _ barn.0:first.1: + reduce _ lines (verse .. 0): + fn(lines verse): + lines =: + if verse.?: + then: + animal1 animal2 =: + L(barn.$verse.first().0 barn.nth(verse.--):first.0) + line =: "She swallowed the $animal1 to catch the $animal2." + line =: + if animal2 == 'spider': + replace(line /\./ replace(barn.1:first.1 /It/ ' that')) + line + conj lines: line + else: lines + =>: lines + =>: lines + conj lines: '' diff --git a/exercises/practice/food-chain/.meta/tests.toml b/exercises/practice/food-chain/.meta/tests.toml new file mode 100644 index 0000000..30c5b98 --- /dev/null +++ b/exercises/practice/food-chain/.meta/tests.toml @@ -0,0 +1,40 @@ +# This is an auto-generated file. +# +# Regenerating this file via `configlet sync` will: +# - Recreate every `description` key/value pair +# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications +# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion) +# - Preserve any other key/value pair +# +# As user-added comments (using the # character) will be removed when this file +# is regenerated, comments can be added via a `comment` key. + +[751dce68-9412-496e-b6e8-855998c56166] +description = "fly" + +[6c56f861-0c5e-4907-9a9d-b2efae389379] +description = "spider" + +[3edf5f33-bef1-4e39-ae67-ca5eb79203fa] +description = "bird" + +[e866a758-e1ff-400e-9f35-f27f28cc288f] +description = "cat" + +[3f02c30e-496b-4b2a-8491-bc7e2953cafb] +description = "dog" + +[4b3fd221-01ea-46e0-825b-5734634fbc59] +description = "goat" + +[1b707da9-7001-4fac-941f-22ad9c7a65d4] +description = "cow" + +[3cb10d46-ae4e-4d2c-9296-83c9ffc04cdc] +description = "horse" + +[22b863d5-17e4-4d1e-93e4-617329a5c050] +description = "multiple verses" + +[e626b32b-745c-4101-bcbd-3b13456893db] +description = "full song" diff --git a/exercises/practice/food-chain/.yamlscript/exercise.mk b/exercises/practice/food-chain/.yamlscript/exercise.mk new file mode 100644 index 0000000..2506034 --- /dev/null +++ b/exercises/practice/food-chain/.yamlscript/exercise.mk @@ -0,0 +1 @@ +YS_VERSION := 0.1.75 diff --git a/exercises/practice/food-chain/.yamlscript/exercism-ys-installer b/exercises/practice/food-chain/.yamlscript/exercism-ys-installer new file mode 100644 index 0000000..ae3fa01 --- /dev/null +++ b/exercises/practice/food-chain/.yamlscript/exercism-ys-installer @@ -0,0 +1,127 @@ +#!/env/bin/env bash + +set -euo pipefail + +intro-prompt() ( + cat <<... +-------------------------------------------------------------------------------- + +This YAMLScript Exercism exercise requires the YAMLScript version $version +interpreter command file to be installed here: + + $prefix/bin/ys + +You can install it by pressing Enter now, or by running this command: + + $make install-ys + +This should only take a few seconds and you only need to do this once. +Other exercises will use the same file. + +See https://yamlscript.org/doc/install/ for more YAMLScript installation info. + +-------------------------------------------------------------------------------- + +Would you like to install the 'ys' file now? + +... + + printf "Press Enter to install. Ctl-C to Quit."; read -r +) + +main() { + setup "$@" + + install-from-local + + $auto && intro-prompt + + installed || install-from-release || true + installed || install-from-build || true + installed || + die "Installing '$installed' failed. Giving up." \ + "Consider filing an issue at: $gh_issue_url" + + echo + echo 'Success!' + echo "$installed is now installed." + echo +} + +installed() { + [[ -f $installed ]] +} + +install-from-local() { + local path + path=$(command -v "$ysfq") || true + if [[ -f $path ]]; then + mkdir -p "$bin" + cp "$path" "$bin"/ + ln -fs "$ysfq" "$bin/ys-0" + ln -fs "$ysfq" "$bin/ys" + (installed && $auto) && exit + true + fi +} + +install-from-release() ( + set -x + curl -s https://yamlscript.org/install | + BIN=1 VERSION="$version" PREFIX="$prefix" bash +) + +install-from-build() ( + cat <<... + +The binary release installation failed. +We can attempt to build and install $ysfq now. +This can take from 1 to 5 minutes to complete. + +... + + printf "Press Enter to install. Ctl-C to Quit."; read -r + + [[ -d /tmp && -w /tmp ]] || + die "Can't write to /tmp" \ + 'Giving up.' + + set -x + + rm -fr "$yamlscript_clone" + + git clone --branch="$version" "$yamlscript_repo" "$yamlscript_clone" + + "$make" -C "$yamlscript_clone/ys" install PREFIX="$prefix" +) + +setup() { + version=$1 + prefix=$2 + make=$3 + auto=false + [[ ${4-} ]] && auto=true + + [[ $version =~ ^0\.1\.[0-9]+$ ]] || + die "Invalid YS_VERSION '$version'" + + bin=$prefix/bin + ysfq=ys-$version + installed=$bin/$ysfq + + if installed; then + echo "'$installed' is already installed." + exit + fi + + yamlscript_repo=https://github.com/yaml/yamlscript + yamlscript_clone=/tmp/yamlscript-exercism + gh_issue_url=https://github.com/exercism/yamlscript/issues +} + +die() { + printf '%s\n' "$@" >&2 + exit 1 +} + +main "$@" diff --git a/exercises/practice/food-chain/GNUmakefile b/exercises/practice/food-chain/GNUmakefile new file mode 100644 index 0000000..e8fb5be --- /dev/null +++ b/exercises/practice/food-chain/GNUmakefile @@ -0,0 +1,49 @@ +SHELL := bash + +BASE := $(shell pwd) + +export YS_VERSION := 0.1.79 + +YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) +ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) +YS_LOCAL_PREFIX := $(shell cd .. && pwd -P)/.local/v$(YS_VERSION) +endif + +YS_LOCAL_BIN := $(YS_LOCAL_PREFIX)/bin +YS_BIN := $(YS_LOCAL_BIN)/ys-$(YS_VERSION) + +YS_INSTALLER := .yamlscript/exercism-ys-installer +YS_INSTALLER_CMD := \ + bash $(YS_INSTALLER) $(YS_VERSION) $(YS_LOCAL_PREFIX) $(MAKE) + +TEST_FILE ?= $(wildcard *-test.ys) + +export PATH := $(YS_LOCAL_BIN):$(PATH) +export YSPATH := $(BASE) + + +#------------------------------------------------------------------------------- +default: + @echo " No default make rule. Try 'make test'." + +test: $(YS_BIN) + prove -v $(TEST_FILE) + +install-ys: + @$(YS_INSTALLER_CMD) + +uninstall-ys: + rm -fr $(YS_LOCAL_PREFIX) + + +#------------------------------------------------------------------------------- +ifdef EXERCISM_YAMLSCRIPT_GHA +$(YS_BIN): + +else ifeq (/mnt/,$(dir $(BASE))) +$(YS_BIN): + +else +$(YS_BIN): + @$(YS_INSTALLER_CMD) auto +endif diff --git a/exercises/practice/food-chain/Makefile b/exercises/practice/food-chain/Makefile new file mode 100644 index 0000000..06b6f00 --- /dev/null +++ b/exercises/practice/food-chain/Makefile @@ -0,0 +1,8 @@ +# This Makefile is a decoy to attempt to detect when a non-GNU make is being +# used and alert the user. + +test: + @echo "You appear to be using a non-GNU version of the 'make' program." + @echo "The YAMLScript Exercism track requires you to use GNU make." + @echo "Please try 'make $@' again using GNU make." + @exit 1 diff --git a/exercises/practice/food-chain/food-chain-test.ys b/exercises/practice/food-chain/food-chain-test.ys new file mode 100644 index 0000000..e1435b2 --- /dev/null +++ b/exercises/practice/food-chain/food-chain-test.ys @@ -0,0 +1,163 @@ +#!/usr/bin/env ys-0 + +require ys::taptest: :all + +use: food-chain + +# JSON doesn't allow for multi-line strings, so all verses are presented +# here as arrays of strings. It's up to the test generator to join the +# lines together with line breaks. +# Some languages test for the verse() method, which takes a start verse +# and optional end verse, but other languages have only tested for the full poem. +# For those languages in the latter category, you may wish to only +# implement the full song test and leave the rest alone, ignoring the start +# and end verse fields. + +test:: +- name: Fly + code: recite(1 1) + want: + - I know an old lady who swallowed a fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + +- name: Spider + code: recite(2 2) + want: + - I know an old lady who swallowed a spider. + - It wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + +- name: Bird + code: recite(3 3) + want: + - I know an old lady who swallowed a bird. + - How absurd to swallow a bird! + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + +- name: Cat + code: recite(4 4) + want: + - I know an old lady who swallowed a cat. + - Imagine that, to swallow a cat! + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + +- name: Dog + code: recite(5 5) + want: + - I know an old lady who swallowed a dog. + - What a hog, to swallow a dog! + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + +- name: Goat + code: recite(6 6) + want: + - I know an old lady who swallowed a goat. + - Just opened her throat and swallowed a goat! + - She swallowed the goat to catch the dog. + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + +- name: Cow + code: recite(7 7) + want: + - I know an old lady who swallowed a cow. + - I don't know how she swallowed a cow! + - She swallowed the cow to catch the goat. + - She swallowed the goat to catch the dog. + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + +- name: Horse + code: recite(8 8) + want: + - I know an old lady who swallowed a horse. + - She's dead, of course! + +- name: Multiple verses + code: recite(1 3) + want: + - I know an old lady who swallowed a fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a spider. + - It wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a bird. + - How absurd to swallow a bird! + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + +- name: Full song + code: recite(1 8) + want: + - I know an old lady who swallowed a fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a spider. + - It wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a bird. + - How absurd to swallow a bird! + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a cat. + - Imagine that, to swallow a cat! + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a dog. + - What a hog, to swallow a dog! + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a goat. + - Just opened her throat and swallowed a goat! + - She swallowed the goat to catch the dog. + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a cow. + - I don't know how she swallowed a cow! + - She swallowed the cow to catch the goat. + - She swallowed the goat to catch the dog. + - She swallowed the dog to catch the cat. + - She swallowed the cat to catch the bird. + - She swallowed the bird to catch the spider that wriggled and jiggled and tickled inside her. + - She swallowed the spider to catch the fly. + - I don't know why she swallowed the fly. Perhaps she'll die. + - '' + - I know an old lady who swallowed a horse. + - She's dead, of course! + +done: 10 diff --git a/exercises/practice/food-chain/food-chain.ys b/exercises/practice/food-chain/food-chain.ys new file mode 100644 index 0000000..698ad12 --- /dev/null +++ b/exercises/practice/food-chain/food-chain.ys @@ -0,0 +1,4 @@ +!yamlscript/v0 + +defn recite(start-verse end-verse): + # Implement the 'recite' function. From a989b19d7fd715cdc13f38f7e1146061b7d83aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingy=20d=C3=B6t=20Net?= Date: Thu, 3 Oct 2024 15:43:37 -0700 Subject: [PATCH 3/5] Improvements to 'food-chain' --- .../practice/food-chain/.meta/food-chain.ys | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/exercises/practice/food-chain/.meta/food-chain.ys b/exercises/practice/food-chain/.meta/food-chain.ys index dc7ba46..66095dc 100644 --- a/exercises/practice/food-chain/.meta/food-chain.ys +++ b/exercises/practice/food-chain/.meta/food-chain.ys @@ -16,25 +16,25 @@ defn recite(start-verse end-verse): defn add-verse(lines verse): animal =: barn.$verse.first().0 - lines =: conj(lines "I know an old lady who swallowed a $animal.") - lines =: conj(lines barn.$verse.first().1) + lines =: + conj lines: + -"I know an old lady who swallowed a $animal." + barn.$verse.first().1 lines =: if 0 < verse < barn.#.--: conj _ barn.0:first.1: - reduce _ lines (verse .. 0): + reduce _ lines (verse .. 1): fn(lines verse): lines =: - if verse.?: - then: - animal1 animal2 =: - L(barn.$verse.first().0 barn.nth(verse.--):first.0) - line =: "She swallowed the $animal1 to catch the $animal2." - line =: - if animal2 == 'spider': - replace(line /\./ replace(barn.1:first.1 /It/ ' that')) - line - conj lines: line - else: lines + animal1 animal2 =: + L(barn.$verse.first().0 + barn.nth(verse.--):first.0) + line =: "She swallowed the $animal1 to catch the $animal2." + line =: + if animal2 == 'spider': + replace(line /\./ replace(barn.1:first.1 /It/ ' that')) + line + conj lines: line =>: lines =>: lines conj lines: '' From f1ae0a8058142d6da51f6c53d7425a136632b142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingy=20d=C3=B6t=20Net?= Date: Thu, 10 Oct 2024 16:31:59 -0700 Subject: [PATCH 4/5] Update 'food-chain' to 0.1.80 --- exercises/practice/food-chain/.meta/Makefile | 2 +- exercises/practice/food-chain/GNUmakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/food-chain/.meta/Makefile b/exercises/practice/food-chain/.meta/Makefile index 08aff24..9314ec0 100644 --- a/exercises/practice/food-chain/.meta/Makefile +++ b/exercises/practice/food-chain/.meta/Makefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../../.local/v$(YS_VERSION) diff --git a/exercises/practice/food-chain/GNUmakefile b/exercises/practice/food-chain/GNUmakefile index e8fb5be..78a395a 100644 --- a/exercises/practice/food-chain/GNUmakefile +++ b/exercises/practice/food-chain/GNUmakefile @@ -2,7 +2,7 @@ SHELL := bash BASE := $(shell pwd) -export YS_VERSION := 0.1.79 +export YS_VERSION := 0.1.80 YS_LOCAL_PREFIX := ../../../.local/v$(YS_VERSION) ifeq (,$(shell [[ -d "$(YS_LOCAL_PREFIX)" ]] && echo ok)) From 07d67ae2ced4a8fa82608cbce480b019300b7da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingy=20d=C3=B6t=20Net?= Date: Mon, 14 Oct 2024 22:49:24 -0700 Subject: [PATCH 5/5] Improvements for food-chain --- .../practice/food-chain/.meta/food-chain.ys | 39 +++++++------------ .../.meta/resistor-color-duo.ys | 1 - 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/exercises/practice/food-chain/.meta/food-chain.ys b/exercises/practice/food-chain/.meta/food-chain.ys index 66095dc..ab9ee22 100644 --- a/exercises/practice/food-chain/.meta/food-chain.ys +++ b/exercises/practice/food-chain/.meta/food-chain.ys @@ -11,30 +11,21 @@ barn =:: - horse: She's dead, of course! defn recite(start-verse end-verse): - drop-last: - reduce: add-verse [] (start-verse.-- .. end-verse.--) + reduce(add-verse [] (start-verse.-- .. end-verse.--)):drop-last defn add-verse(lines verse): animal =: barn.$verse.first().0 - lines =: - conj lines: - -"I know an old lady who swallowed a $animal." - barn.$verse.first().1 - lines =: - if 0 < verse < barn.#.--: - conj _ barn.0:first.1: - reduce _ lines (verse .. 1): - fn(lines verse): - lines =: - animal1 animal2 =: - L(barn.$verse.first().0 - barn.nth(verse.--):first.0) - line =: "She swallowed the $animal1 to catch the $animal2." - line =: - if animal2 == 'spider': - replace(line /\./ replace(barn.1:first.1 /It/ ' that')) - line - conj lines: line - =>: lines - =>: lines - conj lines: '' + lines .=: conj("I know an old lady who swallowed a $animal.") + lines .=: conj(barn.$verse.first().1) + conj _ '': + or _ lines: + when 0 < verse < barn.#.--: + conj _ barn.0:first.1: + reduce _ lines (verse .. 1): + fn(lines verse): + conj lines: + animal1 =: barn.$verse.first().0 + animal2 =: barn.nth(verse.--):first.0 + S("She swallowed the $animal1 to catch the $animal2."): + .call(fn([s] if((animal2 != 'spider') s + replace(s /\./ replace(barn.1:first.1 /It/ ' that'))))_) diff --git a/exercises/practice/resistor-color-duo/.meta/resistor-color-duo.ys b/exercises/practice/resistor-color-duo/.meta/resistor-color-duo.ys index e10d0fe..8ccd62c 100644 --- a/exercises/practice/resistor-color-duo/.meta/resistor-color-duo.ys +++ b/exercises/practice/resistor-color-duo/.meta/resistor-color-duo.ys @@ -1,6 +1,5 @@ !yamlscript/v0 - colors =: zipmap _ range(): qw(black brown red orange yellow