From b668a45fb6da139943762475d7a75d46d74fc76b Mon Sep 17 00:00:00 2001 From: Glenn Jackman Date: Wed, 3 Mar 2021 10:17:23 -0500 Subject: [PATCH] Populate "files" section in each exercise config.json This track only contains practice exercises. script (fish): ``` cd exercises/practice for d in * set e (string replace --all -- "-" "_" $d) jq --arg s {$e}".sh" --arg t {$e}"_test.sh" ' .files = { "solution": [$s], "test": [$t], "example": [".meta/example.sh"] } ' $d/.meta/config.json | sponge $d/.meta/config.json end ``` --- config.json | 4 ++-- exercises/practice/acronym/.meta/config.json | 12 +++++++++--- exercises/practice/affine-cipher/.meta/config.json | 12 +++++++++--- exercises/practice/all-your-base/.meta/config.json | 12 +++++++++--- exercises/practice/allergies/.meta/config.json | 12 +++++++++--- exercises/practice/anagram/.meta/config.json | 12 +++++++++--- .../practice/armstrong-numbers/.meta/config.json | 12 +++++++++--- exercises/practice/atbash-cipher/.meta/config.json | 12 +++++++++--- exercises/practice/beer-song/.meta/config.json | 12 +++++++++--- exercises/practice/binary-search/.meta/config.json | 12 +++++++++--- exercises/practice/bob/.meta/config.json | 12 +++++++++--- exercises/practice/bowling/.meta/config.json | 12 +++++++++--- exercises/practice/change/.meta/config.json | 12 +++++++++--- exercises/practice/clock/.meta/config.json | 12 +++++++++--- .../practice/collatz-conjecture/.meta/config.json | 12 +++++++++--- exercises/practice/crypto-square/.meta/config.json | 12 +++++++++--- exercises/practice/darts/.meta/config.json | 12 +++++++++--- exercises/practice/diamond/.meta/config.json | 12 +++++++++--- .../practice/difference-of-squares/.meta/config.json | 12 +++++++++--- exercises/practice/diffie-hellman/.meta/config.json | 12 +++++++++--- exercises/practice/dnd-character/.meta/config.json | 12 +++++++++--- exercises/practice/error-handling/.meta/config.json | 12 +++++++++--- exercises/practice/food-chain/.meta/config.json | 12 +++++++++--- exercises/practice/forth/.meta/config.json | 12 +++++++++--- exercises/practice/gigasecond/.meta/config.json | 12 +++++++++--- exercises/practice/grains/.meta/config.json | 12 +++++++++--- exercises/practice/grep/.meta/config.json | 12 +++++++++--- exercises/practice/hamming/.meta/config.json | 12 +++++++++--- exercises/practice/hello-world/.meta/config.json | 12 +++++++++--- exercises/practice/house/.meta/config.json | 12 +++++++++--- exercises/practice/isbn-verifier/.meta/config.json | 12 +++++++++--- exercises/practice/isogram/.meta/config.json | 12 +++++++++--- .../practice/kindergarten-garden/.meta/config.json | 12 +++++++++--- exercises/practice/knapsack/.meta/config.json | 12 +++++++++--- .../largest-series-product/.meta/config.json | 12 +++++++++--- exercises/practice/leap/.meta/config.json | 12 +++++++++--- exercises/practice/luhn/.meta/config.json | 12 +++++++++--- exercises/practice/markdown/.meta/config.json | 12 +++++++++--- .../practice/matching-brackets/.meta/config.json | 12 +++++++++--- exercises/practice/meetup/.meta/config.json | 12 +++++++++--- exercises/practice/nth-prime/.meta/config.json | 12 +++++++++--- .../practice/nucleotide-count/.meta/config.json | 12 +++++++++--- exercises/practice/ocr-numbers/.meta/config.json | 12 +++++++++--- .../practice/palindrome-products/.meta/config.json | 12 +++++++++--- exercises/practice/pangram/.meta/config.json | 12 +++++++++--- .../practice/pascals-triangle/.meta/config.json | 12 +++++++++--- exercises/practice/perfect-numbers/.meta/config.json | 12 +++++++++--- exercises/practice/phone-number/.meta/config.json | 12 +++++++++--- exercises/practice/pig-latin/.meta/config.json | 12 +++++++++--- exercises/practice/poker/.meta/config.json | 12 +++++++++--- exercises/practice/prime-factors/.meta/config.json | 12 +++++++++--- .../practice/protein-translation/.meta/config.json | 12 +++++++++--- exercises/practice/proverb/.meta/config.json | 12 +++++++++--- .../practice/pythagorean-triplet/.meta/config.json | 12 +++++++++--- exercises/practice/queen-attack/.meta/config.json | 12 +++++++++--- .../practice/rail-fence-cipher/.meta/config.json | 12 +++++++++--- exercises/practice/raindrops/.meta/config.json | 12 +++++++++--- .../practice/rational-numbers/.meta/config.json | 12 +++++++++--- exercises/practice/rectangles/.meta/config.json | 12 +++++++++--- .../practice/resistor-color-duo/.meta/config.json | 12 +++++++++--- .../practice/resistor-color-trio/.meta/config.json | 12 +++++++++--- exercises/practice/reverse-string/.meta/config.json | 12 +++++++++--- .../practice/rna-transcription/.meta/config.json | 12 +++++++++--- exercises/practice/robot-simulator/.meta/config.json | 12 +++++++++--- exercises/practice/roman-numerals/.meta/config.json | 12 +++++++++--- .../practice/rotational-cipher/.meta/config.json | 12 +++++++++--- .../practice/run-length-encoding/.meta/config.json | 12 +++++++++--- exercises/practice/satellite/.meta/config.json | 12 +++++++++--- exercises/practice/say/.meta/config.json | 12 +++++++++--- exercises/practice/scrabble-score/.meta/config.json | 12 +++++++++--- .../practice/secret-handshake/.meta/config.json | 12 +++++++++--- exercises/practice/series/.meta/config.json | 12 +++++++++--- exercises/practice/sieve/.meta/config.json | 12 +++++++++--- exercises/practice/simple-cipher/.meta/config.json | 12 +++++++++--- exercises/practice/space-age/.meta/config.json | 12 +++++++++--- exercises/practice/spiral-matrix/.meta/config.json | 12 +++++++++--- exercises/practice/square-root/.meta/config.json | 12 +++++++++--- exercises/practice/sublist/.meta/config.json | 12 +++++++++--- .../practice/sum-of-multiples/.meta/config.json | 12 +++++++++--- exercises/practice/tournament/.meta/config.json | 12 +++++++++--- exercises/practice/transpose/.meta/config.json | 12 +++++++++--- exercises/practice/triangle/.meta/config.json | 12 +++++++++--- exercises/practice/twelve-days/.meta/config.json | 12 +++++++++--- exercises/practice/two-bucket/.meta/config.json | 12 +++++++++--- exercises/practice/two-fer/.meta/config.json | 12 +++++++++--- .../variable-length-quantity/.meta/config.json | 12 +++++++++--- exercises/practice/word-count/.meta/config.json | 12 +++++++++--- exercises/practice/wordy/.meta/config.json | 12 +++++++++--- exercises/practice/yacht/.meta/config.json | 12 +++++++++--- 89 files changed, 794 insertions(+), 266 deletions(-) diff --git a/config.json b/config.json index 2ab4e854..927b1997 100644 --- a/config.json +++ b/config.json @@ -16,10 +16,10 @@ }, "files": { "solution": [ - "./%{snake_slug}.sh" + "%{snake_slug}.sh" ], "test": [ - "./%{snake_slug}_test.sh" + "%{snake_slug}_test.sh" ], "example": [ ".meta/example.sh" diff --git a/exercises/practice/acronym/.meta/config.json b/exercises/practice/acronym/.meta/config.json index fd1f09f7..96570ca8 100644 --- a/exercises/practice/acronym/.meta/config.json +++ b/exercises/practice/acronym/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert a long phrase to its acronym", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "acronym.sh" + ], + "test": [ + "acronym_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Julien Vanier", "source_url": "https://github.com/monkbroc" diff --git a/exercises/practice/affine-cipher/.meta/config.json b/exercises/practice/affine-cipher/.meta/config.json index 92cef19a..1115fd34 100644 --- a/exercises/practice/affine-cipher/.meta/config.json +++ b/exercises/practice/affine-cipher/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Create an implementation of the Affine cipher, an ancient encryption algorithm from the Middle East.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "affine_cipher.sh" + ], + "test": [ + "affine_cipher_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Affine_cipher" diff --git a/exercises/practice/all-your-base/.meta/config.json b/exercises/practice/all-your-base/.meta/config.json index a49d064b..440ee5ab 100644 --- a/exercises/practice/all-your-base/.meta/config.json +++ b/exercises/practice/all-your-base/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "all_your_base.sh" + ], + "test": [ + "all_your_base_test.sh" + ], + "example": [ + ".meta/example.sh" + ] } } diff --git a/exercises/practice/allergies/.meta/config.json b/exercises/practice/allergies/.meta/config.json index fbab1dbc..3bb72d33 100644 --- a/exercises/practice/allergies/.meta/config.json +++ b/exercises/practice/allergies/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "allergies.sh" + ], + "test": [ + "allergies_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Jumpstart Lab Warm-up", "source_url": "http://jumpstartlab.com" diff --git a/exercises/practice/anagram/.meta/config.json b/exercises/practice/anagram/.meta/config.json index 1a0d3334..a1fc83ca 100644 --- a/exercises/practice/anagram/.meta/config.json +++ b/exercises/practice/anagram/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a word and a list of possible anagrams, select the correct sublist.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "anagram.sh" + ], + "test": [ + "anagram_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Inspired by the Extreme Startup game", "source_url": "https://github.com/rchatley/extreme_startup" diff --git a/exercises/practice/armstrong-numbers/.meta/config.json b/exercises/practice/armstrong-numbers/.meta/config.json index 89b37fbe..b055a198 100644 --- a/exercises/practice/armstrong-numbers/.meta/config.json +++ b/exercises/practice/armstrong-numbers/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a number is an Armstrong number", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "armstrong_numbers.sh" + ], + "test": [ + "armstrong_numbers_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Narcissistic_number" diff --git a/exercises/practice/atbash-cipher/.meta/config.json b/exercises/practice/atbash-cipher/.meta/config.json index 06ddd89e..6856dc07 100644 --- a/exercises/practice/atbash-cipher/.meta/config.json +++ b/exercises/practice/atbash-cipher/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "atbash_cipher.sh" + ], + "test": [ + "atbash_cipher_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Atbash" diff --git a/exercises/practice/beer-song/.meta/config.json b/exercises/practice/beer-song/.meta/config.json index 7fd22bf0..2fdfb92d 100644 --- a/exercises/practice/beer-song/.meta/config.json +++ b/exercises/practice/beer-song/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "beer_song.sh" + ], + "test": [ + "beer_song_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Learn to Program by Chris Pine", "source_url": "http://pine.fm/LearnToProgram/?Chapter=06" diff --git a/exercises/practice/binary-search/.meta/config.json b/exercises/practice/binary-search/.meta/config.json index 0e4bcddf..60097136 100644 --- a/exercises/practice/binary-search/.meta/config.json +++ b/exercises/practice/binary-search/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement a binary search algorithm.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "binary_search.sh" + ], + "test": [ + "binary_search_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Binary_search_algorithm" diff --git a/exercises/practice/bob/.meta/config.json b/exercises/practice/bob/.meta/config.json index 12a4d82a..13b0b711 100644 --- a/exercises/practice/bob/.meta/config.json +++ b/exercises/practice/bob/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "bob.sh" + ], + "test": [ + "bob_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.", "source_url": "http://pine.fm/LearnToProgram/?Chapter=06" diff --git a/exercises/practice/bowling/.meta/config.json b/exercises/practice/bowling/.meta/config.json index e5ae13a6..5cd8881d 100644 --- a/exercises/practice/bowling/.meta/config.json +++ b/exercises/practice/bowling/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Score a bowling game", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "bowling.sh" + ], + "test": [ + "bowling_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "The Bowling Game Kata at but UncleBob", "source_url": "http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata" diff --git a/exercises/practice/change/.meta/config.json b/exercises/practice/change/.meta/config.json index fe3844de..a18273b3 100644 --- a/exercises/practice/change/.meta/config.json +++ b/exercises/practice/change/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Correctly determine change to be given using the least number of coins", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "change.sh" + ], + "test": [ + "change_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Software Craftsmanship - Coin Change Kata", "source_url": "https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata" diff --git a/exercises/practice/clock/.meta/config.json b/exercises/practice/clock/.meta/config.json index 534db8d3..abe2860f 100644 --- a/exercises/practice/clock/.meta/config.json +++ b/exercises/practice/clock/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement a clock that handles times without dates.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "clock.sh" + ], + "test": [ + "clock_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Pairing session with Erin Drummond", "source_url": "https://twitter.com/ebdrummond" diff --git a/exercises/practice/collatz-conjecture/.meta/config.json b/exercises/practice/collatz-conjecture/.meta/config.json index ea35f19b..a2043a15 100644 --- a/exercises/practice/collatz-conjecture/.meta/config.json +++ b/exercises/practice/collatz-conjecture/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "collatz_conjecture.sh" + ], + "test": [ + "collatz_conjecture_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "An unsolved problem in mathematics named after mathematician Lothar Collatz", "source_url": "https://en.wikipedia.org/wiki/3x_%2B_1_problem" diff --git a/exercises/practice/crypto-square/.meta/config.json b/exercises/practice/crypto-square/.meta/config.json index f3f5aa01..013e0ef2 100644 --- a/exercises/practice/crypto-square/.meta/config.json +++ b/exercises/practice/crypto-square/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement the classic method for composing secret messages called a square code.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "crypto_square.sh" + ], + "test": [ + "crypto_square_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "J Dalbey's Programming Practice problems", "source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html" diff --git a/exercises/practice/darts/.meta/config.json b/exercises/practice/darts/.meta/config.json index 51d8b7d4..1b95d070 100644 --- a/exercises/practice/darts/.meta/config.json +++ b/exercises/practice/darts/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Write a function that returns the earned points in a single toss of a Darts game", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "darts.sh" + ], + "test": [ + "darts_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Inspired by an exercise created by a professor Della Paolera in Argentina" } diff --git a/exercises/practice/diamond/.meta/config.json b/exercises/practice/diamond/.meta/config.json index 0bae8e11..20270164 100644 --- a/exercises/practice/diamond/.meta/config.json +++ b/exercises/practice/diamond/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "diamond.sh" + ], + "test": [ + "diamond_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Seb Rose", "source_url": "http://claysnow.co.uk/recycling-tests-in-tdd/" diff --git a/exercises/practice/difference-of-squares/.meta/config.json b/exercises/practice/difference-of-squares/.meta/config.json index d11f259a..2e1ef377 100644 --- a/exercises/practice/difference-of-squares/.meta/config.json +++ b/exercises/practice/difference-of-squares/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "difference_of_squares.sh" + ], + "test": [ + "difference_of_squares_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Problem 6 at Project Euler", "source_url": "http://projecteuler.net/problem=6" diff --git a/exercises/practice/diffie-hellman/.meta/config.json b/exercises/practice/diffie-hellman/.meta/config.json index e6f47edf..81c33aea 100644 --- a/exercises/practice/diffie-hellman/.meta/config.json +++ b/exercises/practice/diffie-hellman/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Diffie-Hellman key exchange.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "diffie_hellman.sh" + ], + "test": [ + "diffie_hellman_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia, 1024 bit key from www.cryptopp.com/wiki.", "source_url": "http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange" diff --git a/exercises/practice/dnd-character/.meta/config.json b/exercises/practice/dnd-character/.meta/config.json index c1940f02..32987863 100644 --- a/exercises/practice/dnd-character/.meta/config.json +++ b/exercises/practice/dnd-character/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Randomly generate Dungeons & Dragons characters", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "dnd_character.sh" + ], + "test": [ + "dnd_character_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Simon Shine, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/616#issuecomment-437358945" diff --git a/exercises/practice/error-handling/.meta/config.json b/exercises/practice/error-handling/.meta/config.json index 2a0f4bc9..d22764c8 100644 --- a/exercises/practice/error-handling/.meta/config.json +++ b/exercises/practice/error-handling/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Implement various kinds of error handling and resource management", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "error_handling.sh" + ], + "test": [ + "error_handling_test.sh" + ], + "example": [ + ".meta/example.sh" + ] } } diff --git a/exercises/practice/food-chain/.meta/config.json b/exercises/practice/food-chain/.meta/config.json index b8c8b26b..f49a31c7 100644 --- a/exercises/practice/food-chain/.meta/config.json +++ b/exercises/practice/food-chain/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Generate the lyrics of the song 'I Know an Old Lady Who Swallowed a Fly'", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "food_chain.sh" + ], + "test": [ + "food_chain_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly" diff --git a/exercises/practice/forth/.meta/config.json b/exercises/practice/forth/.meta/config.json index b8cc8acf..8e13fa5f 100644 --- a/exercises/practice/forth/.meta/config.json +++ b/exercises/practice/forth/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Implement an evaluator for a very simple subset of Forth", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "forth.sh" + ], + "test": [ + "forth_test.sh" + ], + "example": [ + ".meta/example.sh" + ] } } diff --git a/exercises/practice/gigasecond/.meta/config.json b/exercises/practice/gigasecond/.meta/config.json index 7f555b2a..9c87c97d 100644 --- a/exercises/practice/gigasecond/.meta/config.json +++ b/exercises/practice/gigasecond/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a moment, determine the moment that would be after a gigasecond has passed.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "gigasecond.sh" + ], + "test": [ + "gigasecond_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Chapter 9 in Chris Pine's online Learn to Program tutorial.", "source_url": "http://pine.fm/LearnToProgram/?Chapter=09" diff --git a/exercises/practice/grains/.meta/config.json b/exercises/practice/grains/.meta/config.json index 0cbdaf98..25f0052d 100644 --- a/exercises/practice/grains/.meta/config.json +++ b/exercises/practice/grains/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "grains.sh" + ], + "test": [ + "grains_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "JavaRanch Cattle Drive, exercise 6", "source_url": "http://www.javaranch.com/grains.jsp" diff --git a/exercises/practice/grep/.meta/config.json b/exercises/practice/grep/.meta/config.json index 5a90afb2..c54276ee 100644 --- a/exercises/practice/grep/.meta/config.json +++ b/exercises/practice/grep/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Search a file for lines matching a regular expression pattern. Return the line number and contents of each matching line.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "grep.sh" + ], + "test": [ + "grep_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Conversation with Nate Foster.", "source_url": "http://www.cs.cornell.edu/Courses/cs3110/2014sp/hw/0/ps0.pdf" diff --git a/exercises/practice/hamming/.meta/config.json b/exercises/practice/hamming/.meta/config.json index e5d69818..1f51a3e9 100644 --- a/exercises/practice/hamming/.meta/config.json +++ b/exercises/practice/hamming/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Calculate the Hamming difference between two DNA strands.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "hamming.sh" + ], + "test": [ + "hamming_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "The Calculating Point Mutations problem at Rosalind", "source_url": "http://rosalind.info/problems/hamm/" diff --git a/exercises/practice/hello-world/.meta/config.json b/exercises/practice/hello-world/.meta/config.json index 74a832cd..d5ad456a 100644 --- a/exercises/practice/hello-world/.meta/config.json +++ b/exercises/practice/hello-world/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "The classical introductory exercise. Just say \"Hello, World!\"", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "hello_world.sh" + ], + "test": [ + "hello_world_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "This is an exercise to introduce users to using Exercism", "source_url": "http://en.wikipedia.org/wiki/%22Hello,_world!%22_program" diff --git a/exercises/practice/house/.meta/config.json b/exercises/practice/house/.meta/config.json index d19d0680..969384da 100644 --- a/exercises/practice/house/.meta/config.json +++ b/exercises/practice/house/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Output the nursery rhyme 'This is the House that Jack Built'.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "house.sh" + ], + "test": [ + "house_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "British nursery rhyme", "source_url": "http://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built" diff --git a/exercises/practice/isbn-verifier/.meta/config.json b/exercises/practice/isbn-verifier/.meta/config.json index bddee9f5..82c8f703 100644 --- a/exercises/practice/isbn-verifier/.meta/config.json +++ b/exercises/practice/isbn-verifier/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Check if a given string is a valid ISBN-10 number.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "isbn_verifier.sh" + ], + "test": [ + "isbn_verifier_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Converting a string into a number and some basic processing utilizing a relatable real world example.", "source_url": "https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation" diff --git a/exercises/practice/isogram/.meta/config.json b/exercises/practice/isogram/.meta/config.json index bf61c329..efc7f9e6 100644 --- a/exercises/practice/isogram/.meta/config.json +++ b/exercises/practice/isogram/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a word or phrase is an isogram.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "isogram.sh" + ], + "test": [ + "isogram_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Isogram" diff --git a/exercises/practice/kindergarten-garden/.meta/config.json b/exercises/practice/kindergarten-garden/.meta/config.json index ebb83bf3..9415648c 100644 --- a/exercises/practice/kindergarten-garden/.meta/config.json +++ b/exercises/practice/kindergarten-garden/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a diagram, determine which plants each child in the kindergarten class is responsible for.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "kindergarten_garden.sh" + ], + "test": [ + "kindergarten_garden_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Random musings during airplane trip.", "source_url": "http://jumpstartlab.com" diff --git a/exercises/practice/knapsack/.meta/config.json b/exercises/practice/knapsack/.meta/config.json index 9b8ba5ac..7cac8835 100644 --- a/exercises/practice/knapsack/.meta/config.json +++ b/exercises/practice/knapsack/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a knapsack that can only carry a certain weight, determine which items to put in the knapsack in order to maximize their combined value.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "knapsack.sh" + ], + "test": [ + "knapsack_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Knapsack_problem" diff --git a/exercises/practice/largest-series-product/.meta/config.json b/exercises/practice/largest-series-product/.meta/config.json index 42f22206..66a251da 100644 --- a/exercises/practice/largest-series-product/.meta/config.json +++ b/exercises/practice/largest-series-product/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a string of digits, calculate the largest product for a contiguous substring of digits of length n.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "largest_series_product.sh" + ], + "test": [ + "largest_series_product_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "A variation on Problem 8 at Project Euler", "source_url": "http://projecteuler.net/problem=8" diff --git a/exercises/practice/leap/.meta/config.json b/exercises/practice/leap/.meta/config.json index 0738045f..b9b91b39 100644 --- a/exercises/practice/leap/.meta/config.json +++ b/exercises/practice/leap/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a year, report if it is a leap year.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "leap.sh" + ], + "test": [ + "leap_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "JavaRanch Cattle Drive, exercise 3", "source_url": "http://www.javaranch.com/leap.jsp" diff --git a/exercises/practice/luhn/.meta/config.json b/exercises/practice/luhn/.meta/config.json index e7901629..df740dee 100644 --- a/exercises/practice/luhn/.meta/config.json +++ b/exercises/practice/luhn/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a number determine whether or not it is valid per the Luhn formula.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "luhn.sh" + ], + "test": [ + "luhn_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "The Luhn Algorithm on Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Luhn_algorithm" diff --git a/exercises/practice/markdown/.meta/config.json b/exercises/practice/markdown/.meta/config.json index 327cffe1..2cb5b1eb 100644 --- a/exercises/practice/markdown/.meta/config.json +++ b/exercises/practice/markdown/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Refactor a Markdown parser", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "markdown.sh" + ], + "test": [ + "markdown_test.sh" + ], + "example": [ + ".meta/example.sh" + ] } } diff --git a/exercises/practice/matching-brackets/.meta/config.json b/exercises/practice/matching-brackets/.meta/config.json index 08aea557..b4da0206 100644 --- a/exercises/practice/matching-brackets/.meta/config.json +++ b/exercises/practice/matching-brackets/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Make sure the brackets and braces all match.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "matching_brackets.sh" + ], + "test": [ + "matching_brackets_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Ginna Baker" } diff --git a/exercises/practice/meetup/.meta/config.json b/exercises/practice/meetup/.meta/config.json index 9b431fe3..f78708eb 100644 --- a/exercises/practice/meetup/.meta/config.json +++ b/exercises/practice/meetup/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Calculate the date of meetups.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "meetup.sh" + ], + "test": [ + "meetup_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month", "source_url": "https://twitter.com/copiousfreetime" diff --git a/exercises/practice/nth-prime/.meta/config.json b/exercises/practice/nth-prime/.meta/config.json index 78c9933a..303ccfde 100644 --- a/exercises/practice/nth-prime/.meta/config.json +++ b/exercises/practice/nth-prime/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a number n, determine what the nth prime is.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "nth_prime.sh" + ], + "test": [ + "nth_prime_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "A variation on Problem 7 at Project Euler", "source_url": "http://projecteuler.net/problem=7" diff --git a/exercises/practice/nucleotide-count/.meta/config.json b/exercises/practice/nucleotide-count/.meta/config.json index 4919a329..e5b41b55 100644 --- a/exercises/practice/nucleotide-count/.meta/config.json +++ b/exercises/practice/nucleotide-count/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a DNA string, compute how many times each nucleotide occurs in the string.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "nucleotide_count.sh" + ], + "test": [ + "nucleotide_count_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "The Calculating DNA Nucleotides_problem at Rosalind", "source_url": "http://rosalind.info/problems/dna/" diff --git a/exercises/practice/ocr-numbers/.meta/config.json b/exercises/practice/ocr-numbers/.meta/config.json index 42a0e549..6d511dcb 100644 --- a/exercises/practice/ocr-numbers/.meta/config.json +++ b/exercises/practice/ocr-numbers/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a 3 x 4 grid of pipes, underscores, and spaces, determine which number is represented, or whether it is garbled.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "ocr_numbers.sh" + ], + "test": [ + "ocr_numbers_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Inspired by the Bank OCR kata", "source_url": "http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR" diff --git a/exercises/practice/palindrome-products/.meta/config.json b/exercises/practice/palindrome-products/.meta/config.json index 8c60713e..b0d4acb4 100644 --- a/exercises/practice/palindrome-products/.meta/config.json +++ b/exercises/practice/palindrome-products/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Detect palindrome products in a given range.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "palindrome_products.sh" + ], + "test": [ + "palindrome_products_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Problem 4 at Project Euler", "source_url": "http://projecteuler.net/problem=4" diff --git a/exercises/practice/pangram/.meta/config.json b/exercises/practice/pangram/.meta/config.json index 5b7a8665..ceca60bc 100644 --- a/exercises/practice/pangram/.meta/config.json +++ b/exercises/practice/pangram/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a sentence is a pangram.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "pangram.sh" + ], + "test": [ + "pangram_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Pangram" diff --git a/exercises/practice/pascals-triangle/.meta/config.json b/exercises/practice/pascals-triangle/.meta/config.json index fed74884..3e861b4a 100644 --- a/exercises/practice/pascals-triangle/.meta/config.json +++ b/exercises/practice/pascals-triangle/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Compute Pascal's triangle up to a given number of rows.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "pascals_triangle.sh" + ], + "test": [ + "pascals_triangle_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Pascal's Triangle at Wolfram Math World", "source_url": "http://mathworld.wolfram.com/PascalsTriangle.html" diff --git a/exercises/practice/perfect-numbers/.meta/config.json b/exercises/practice/perfect-numbers/.meta/config.json index e266fc4c..90e06acf 100644 --- a/exercises/practice/perfect-numbers/.meta/config.json +++ b/exercises/practice/perfect-numbers/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for positive integers.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "perfect_numbers.sh" + ], + "test": [ + "perfect_numbers_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Taken from Chapter 2 of Functional Thinking by Neal Ford.", "source_url": "http://shop.oreilly.com/product/0636920029687.do" diff --git a/exercises/practice/phone-number/.meta/config.json b/exercises/practice/phone-number/.meta/config.json index 86769da8..80b0f261 100644 --- a/exercises/practice/phone-number/.meta/config.json +++ b/exercises/practice/phone-number/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Clean up user-entered phone numbers so that they can be sent SMS messages.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "phone_number.sh" + ], + "test": [ + "phone_number_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Event Manager by JumpstartLab", "source_url": "http://tutorials.jumpstartlab.com/projects/eventmanager.html" diff --git a/exercises/practice/pig-latin/.meta/config.json b/exercises/practice/pig-latin/.meta/config.json index 54c12bd2..1ad857c5 100644 --- a/exercises/practice/pig-latin/.meta/config.json +++ b/exercises/practice/pig-latin/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement a program that translates from English to Pig Latin", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "pig_latin.sh" + ], + "test": [ + "pig_latin_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "The Pig Latin exercise at Test First Teaching by Ultrasaurus", "source_url": "https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/" diff --git a/exercises/practice/poker/.meta/config.json b/exercises/practice/poker/.meta/config.json index 62de20d4..3763ab75 100644 --- a/exercises/practice/poker/.meta/config.json +++ b/exercises/practice/poker/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Pick the best hand(s) from a list of poker hands.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "poker.sh" + ], + "test": [ + "poker_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Inspired by the training course from Udacity.", "source_url": "https://www.udacity.com/course/viewer#!/c-cs212/" diff --git a/exercises/practice/prime-factors/.meta/config.json b/exercises/practice/prime-factors/.meta/config.json index 92706db6..4fdf707d 100644 --- a/exercises/practice/prime-factors/.meta/config.json +++ b/exercises/practice/prime-factors/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Compute the prime factors of a given natural number.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "prime_factors.sh" + ], + "test": [ + "prime_factors_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "The Prime Factors Kata by Uncle Bob", "source_url": "http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata" diff --git a/exercises/practice/protein-translation/.meta/config.json b/exercises/practice/protein-translation/.meta/config.json index d397cfe9..7076804b 100644 --- a/exercises/practice/protein-translation/.meta/config.json +++ b/exercises/practice/protein-translation/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Translate RNA sequences into proteins.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "protein_translation.sh" + ], + "test": [ + "protein_translation_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Tyler Long" } diff --git a/exercises/practice/proverb/.meta/config.json b/exercises/practice/proverb/.meta/config.json index 8d7aaefa..4777ac7f 100644 --- a/exercises/practice/proverb/.meta/config.json +++ b/exercises/practice/proverb/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "proverb.sh" + ], + "test": [ + "proverb_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/For_Want_of_a_Nail" diff --git a/exercises/practice/pythagorean-triplet/.meta/config.json b/exercises/practice/pythagorean-triplet/.meta/config.json index b7d11b3d..7823e8c4 100644 --- a/exercises/practice/pythagorean-triplet/.meta/config.json +++ b/exercises/practice/pythagorean-triplet/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product a * b * c.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "pythagorean_triplet.sh" + ], + "test": [ + "pythagorean_triplet_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Problem 9 at Project Euler", "source_url": "http://projecteuler.net/problem=9" diff --git a/exercises/practice/queen-attack/.meta/config.json b/exercises/practice/queen-attack/.meta/config.json index 70b37790..27e2ad2e 100644 --- a/exercises/practice/queen-attack/.meta/config.json +++ b/exercises/practice/queen-attack/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given the position of two queens on a chess board, indicate whether or not they are positioned so that they can attack each other.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "queen_attack.sh" + ], + "test": [ + "queen_attack_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "J Dalbey's Programming Practice problems", "source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html" diff --git a/exercises/practice/rail-fence-cipher/.meta/config.json b/exercises/practice/rail-fence-cipher/.meta/config.json index 42a0a8d2..2a8f1d57 100644 --- a/exercises/practice/rail-fence-cipher/.meta/config.json +++ b/exercises/practice/rail-fence-cipher/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement encoding and decoding for the rail fence cipher.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "rail_fence_cipher.sh" + ], + "test": [ + "rail_fence_cipher_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher" diff --git a/exercises/practice/raindrops/.meta/config.json b/exercises/practice/raindrops/.meta/config.json index 467b2f15..d1492b6d 100644 --- a/exercises/practice/raindrops/.meta/config.json +++ b/exercises/practice/raindrops/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert a number to a string, the content of which depends on the number's factors.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "raindrops.sh" + ], + "test": [ + "raindrops_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "A variation on FizzBuzz, a famous technical interview question that is intended to weed out potential candidates. That question is itself derived from Fizz Buzz, a popular children's game for teaching division.", "source_url": "https://en.wikipedia.org/wiki/Fizz_buzz" diff --git a/exercises/practice/rational-numbers/.meta/config.json b/exercises/practice/rational-numbers/.meta/config.json index 01ad9c1b..ed85c01b 100644 --- a/exercises/practice/rational-numbers/.meta/config.json +++ b/exercises/practice/rational-numbers/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement rational numbers.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "rational_numbers.sh" + ], + "test": [ + "rational_numbers_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Rational_number" diff --git a/exercises/practice/rectangles/.meta/config.json b/exercises/practice/rectangles/.meta/config.json index 5d5f1f57..bad959d9 100644 --- a/exercises/practice/rectangles/.meta/config.json +++ b/exercises/practice/rectangles/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Count the rectangles in an ASCII diagram.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "rectangles.sh" + ], + "test": [ + "rectangles_test.sh" + ], + "example": [ + ".meta/example.sh" + ] } } diff --git a/exercises/practice/resistor-color-duo/.meta/config.json b/exercises/practice/resistor-color-duo/.meta/config.json index 12484bc6..7bc78388 100644 --- a/exercises/practice/resistor-color-duo/.meta/config.json +++ b/exercises/practice/resistor-color-duo/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert color codes, as used on resistors, to a numeric value.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "resistor_color_duo.sh" + ], + "test": [ + "resistor_color_duo_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Maud de Vries, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/1464" diff --git a/exercises/practice/resistor-color-trio/.meta/config.json b/exercises/practice/resistor-color-trio/.meta/config.json index 7dd97345..1a02f441 100644 --- a/exercises/practice/resistor-color-trio/.meta/config.json +++ b/exercises/practice/resistor-color-trio/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert color codes, as used on resistors, to a human-readable label.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "resistor_color_trio.sh" + ], + "test": [ + "resistor_color_trio_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Maud de Vries, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/1549" diff --git a/exercises/practice/reverse-string/.meta/config.json b/exercises/practice/reverse-string/.meta/config.json index 59869d94..9a997b84 100644 --- a/exercises/practice/reverse-string/.meta/config.json +++ b/exercises/practice/reverse-string/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Reverse a string", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "reverse_string.sh" + ], + "test": [ + "reverse_string_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Introductory challenge to reverse an input string", "source_url": "https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb" diff --git a/exercises/practice/rna-transcription/.meta/config.json b/exercises/practice/rna-transcription/.meta/config.json index b6f300aa..f1f98e92 100644 --- a/exercises/practice/rna-transcription/.meta/config.json +++ b/exercises/practice/rna-transcription/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a DNA strand, return its RNA Complement Transcription.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "rna_transcription.sh" + ], + "test": [ + "rna_transcription_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Hyperphysics", "source_url": "http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html" diff --git a/exercises/practice/robot-simulator/.meta/config.json b/exercises/practice/robot-simulator/.meta/config.json index 68c81883..9f8cab25 100644 --- a/exercises/practice/robot-simulator/.meta/config.json +++ b/exercises/practice/robot-simulator/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Write a robot simulator.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "robot_simulator.sh" + ], + "test": [ + "robot_simulator_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Inspired by an interview question at a famous company.", "source_url": "" diff --git a/exercises/practice/roman-numerals/.meta/config.json b/exercises/practice/roman-numerals/.meta/config.json index 7ab29654..df50d05e 100644 --- a/exercises/practice/roman-numerals/.meta/config.json +++ b/exercises/practice/roman-numerals/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Write a function to convert from normal numbers to Roman Numerals.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "roman_numerals.sh" + ], + "test": [ + "roman_numerals_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "The Roman Numeral Kata", "source_url": "http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals" diff --git a/exercises/practice/rotational-cipher/.meta/config.json b/exercises/practice/rotational-cipher/.meta/config.json index 4dac8f58..c5187d5a 100644 --- a/exercises/practice/rotational-cipher/.meta/config.json +++ b/exercises/practice/rotational-cipher/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Create an implementation of the rotational cipher, also sometimes called the Caesar cipher.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "rotational_cipher.sh" + ], + "test": [ + "rotational_cipher_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Caesar_cipher" diff --git a/exercises/practice/run-length-encoding/.meta/config.json b/exercises/practice/run-length-encoding/.meta/config.json index 21389ce2..6b601c14 100644 --- a/exercises/practice/run-length-encoding/.meta/config.json +++ b/exercises/practice/run-length-encoding/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement run-length encoding and decoding.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "run_length_encoding.sh" + ], + "test": [ + "run_length_encoding_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Run-length_encoding" diff --git a/exercises/practice/satellite/.meta/config.json b/exercises/practice/satellite/.meta/config.json index f40de038..36691409 100644 --- a/exercises/practice/satellite/.meta/config.json +++ b/exercises/practice/satellite/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Rebuild binary trees from pre-order and in-order traversals.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "satellite.sh" + ], + "test": [ + "satellite_test.sh" + ], + "example": [ + ".meta/example.sh" + ] } } diff --git a/exercises/practice/say/.meta/config.json b/exercises/practice/say/.meta/config.json index 1330a751..6ee54207 100644 --- a/exercises/practice/say/.meta/config.json +++ b/exercises/practice/say/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a number from 0 to 999,999,999,999, spell out that number in English.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "say.sh" + ], + "test": [ + "say_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "A variation on JavaRanch CattleDrive, exercise 4a", "source_url": "http://www.javaranch.com/say.jsp" diff --git a/exercises/practice/scrabble-score/.meta/config.json b/exercises/practice/scrabble-score/.meta/config.json index 1b2cb240..f3be7994 100644 --- a/exercises/practice/scrabble-score/.meta/config.json +++ b/exercises/practice/scrabble-score/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a word, compute the Scrabble score for that word.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "scrabble_score.sh" + ], + "test": [ + "scrabble_score_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Inspired by the Extreme Startup game", "source_url": "https://github.com/rchatley/extreme_startup" diff --git a/exercises/practice/secret-handshake/.meta/config.json b/exercises/practice/secret-handshake/.meta/config.json index 3b1b983d..db7f12cf 100644 --- a/exercises/practice/secret-handshake/.meta/config.json +++ b/exercises/practice/secret-handshake/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a decimal number, convert it to the appropriate sequence of events for a secret handshake.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "secret_handshake.sh" + ], + "test": [ + "secret_handshake_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Bert, in Mary Poppins", "source_url": "http://www.imdb.com/title/tt0058331/quotes/qt0437047" diff --git a/exercises/practice/series/.meta/config.json b/exercises/practice/series/.meta/config.json index 3dacdb44..b9fc9dc1 100644 --- a/exercises/practice/series/.meta/config.json +++ b/exercises/practice/series/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a string of digits, output all the contiguous substrings of length `n` in that string.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "series.sh" + ], + "test": [ + "series_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "A subset of the Problem 8 at Project Euler", "source_url": "http://projecteuler.net/problem=8" diff --git a/exercises/practice/sieve/.meta/config.json b/exercises/practice/sieve/.meta/config.json index ec0f8f88..15749014 100644 --- a/exercises/practice/sieve/.meta/config.json +++ b/exercises/practice/sieve/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "sieve.sh" + ], + "test": [ + "sieve_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Sieve of Eratosthenes at Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes" diff --git a/exercises/practice/simple-cipher/.meta/config.json b/exercises/practice/simple-cipher/.meta/config.json index a6e55351..1d40ec3f 100644 --- a/exercises/practice/simple-cipher/.meta/config.json +++ b/exercises/practice/simple-cipher/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement a simple shift cipher like Caesar and a more secure substitution cipher", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "simple_cipher.sh" + ], + "test": [ + "simple_cipher_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Substitution Cipher at Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Substitution_cipher" diff --git a/exercises/practice/space-age/.meta/config.json b/exercises/practice/space-age/.meta/config.json index a209b637..ca4a4d65 100644 --- a/exercises/practice/space-age/.meta/config.json +++ b/exercises/practice/space-age/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given an age in seconds, calculate how old someone is in terms of a given planet's solar years.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "space_age.sh" + ], + "test": [ + "space_age_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial.", "source_url": "http://pine.fm/LearnToProgram/?Chapter=01" diff --git a/exercises/practice/spiral-matrix/.meta/config.json b/exercises/practice/spiral-matrix/.meta/config.json index 3208cc29..6dbd7da9 100644 --- a/exercises/practice/spiral-matrix/.meta/config.json +++ b/exercises/practice/spiral-matrix/.meta/config.json @@ -2,9 +2,15 @@ "blurb": " Given the size, return a square matrix of numbers in spiral order.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "spiral_matrix.sh" + ], + "test": [ + "spiral_matrix_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Reddit r/dailyprogrammer challenge #320 [Easy] Spiral Ascension.", "source_url": "https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/" diff --git a/exercises/practice/square-root/.meta/config.json b/exercises/practice/square-root/.meta/config.json index cd8a187d..544d6033 100644 --- a/exercises/practice/square-root/.meta/config.json +++ b/exercises/practice/square-root/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a natural radicand, return its square root.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "square_root.sh" + ], + "test": [ + "square_root_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "wolf99", "source_url": "https://github.com/exercism/problem-specifications/pull/1582" diff --git a/exercises/practice/sublist/.meta/config.json b/exercises/practice/sublist/.meta/config.json index f02d85b0..205b8440 100644 --- a/exercises/practice/sublist/.meta/config.json +++ b/exercises/practice/sublist/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Write a function to determine if a list is a sublist of another list.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "sublist.sh" + ], + "test": [ + "sublist_test.sh" + ], + "example": [ + ".meta/example.sh" + ] } } diff --git a/exercises/practice/sum-of-multiples/.meta/config.json b/exercises/practice/sum-of-multiples/.meta/config.json index 89e68b4a..9ec50154 100644 --- a/exercises/practice/sum-of-multiples/.meta/config.json +++ b/exercises/practice/sum-of-multiples/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a number, find the sum of all the multiples of particular numbers up to but not including that number.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "sum_of_multiples.sh" + ], + "test": [ + "sum_of_multiples_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "A variation on Problem 1 at Project Euler", "source_url": "http://projecteuler.net/problem=1" diff --git a/exercises/practice/tournament/.meta/config.json b/exercises/practice/tournament/.meta/config.json index fd250887..0d0965ca 100644 --- a/exercises/practice/tournament/.meta/config.json +++ b/exercises/practice/tournament/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Tally the results of a small football competition.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "tournament.sh" + ], + "test": [ + "tournament_test.sh" + ], + "example": [ + ".meta/example.sh" + ] } } diff --git a/exercises/practice/transpose/.meta/config.json b/exercises/practice/transpose/.meta/config.json index a9674604..c039d853 100644 --- a/exercises/practice/transpose/.meta/config.json +++ b/exercises/practice/transpose/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Take input text and output it transposed.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "transpose.sh" + ], + "test": [ + "transpose_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Reddit r/dailyprogrammer challenge #270 [Easy].", "source_url": "https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text" diff --git a/exercises/practice/triangle/.meta/config.json b/exercises/practice/triangle/.meta/config.json index f045d738..bd03850d 100644 --- a/exercises/practice/triangle/.meta/config.json +++ b/exercises/practice/triangle/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a triangle is equilateral, isosceles, or scalene.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "triangle.sh" + ], + "test": [ + "triangle_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "The Ruby Koans triangle project, parts 1 & 2", "source_url": "http://rubykoans.com" diff --git a/exercises/practice/twelve-days/.meta/config.json b/exercises/practice/twelve-days/.meta/config.json index f9ac5adc..d56a661f 100644 --- a/exercises/practice/twelve-days/.meta/config.json +++ b/exercises/practice/twelve-days/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Output the lyrics to 'The Twelve Days of Christmas'", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "twelve_days.sh" + ], + "test": [ + "twelve_days_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)" diff --git a/exercises/practice/two-bucket/.meta/config.json b/exercises/practice/two-bucket/.meta/config.json index fdf5b3b3..fb8ae03d 100644 --- a/exercises/practice/two-bucket/.meta/config.json +++ b/exercises/practice/two-bucket/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given two buckets of different size, demonstrate how to measure an exact number of liters.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "two_bucket.sh" + ], + "test": [ + "two_bucket_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Water Pouring Problem", "source_url": "http://demonstrations.wolfram.com/WaterPouringProblem/" diff --git a/exercises/practice/two-fer/.meta/config.json b/exercises/practice/two-fer/.meta/config.json index 52924fa7..9d6a9c17 100644 --- a/exercises/practice/two-fer/.meta/config.json +++ b/exercises/practice/two-fer/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Create a sentence of the form \"One for X, one for me.\"", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "two_fer.sh" + ], + "test": [ + "two_fer_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source_url": "https://github.com/exercism/problem-specifications/issues/757" } diff --git a/exercises/practice/variable-length-quantity/.meta/config.json b/exercises/practice/variable-length-quantity/.meta/config.json index c58782b8..bf0e8e78 100644 --- a/exercises/practice/variable-length-quantity/.meta/config.json +++ b/exercises/practice/variable-length-quantity/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement variable length quantity encoding and decoding.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "variable_length_quantity.sh" + ], + "test": [ + "variable_length_quantity_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "A poor Splice developer having to implement MIDI encoding/decoding.", "source_url": "https://splice.com" diff --git a/exercises/practice/word-count/.meta/config.json b/exercises/practice/word-count/.meta/config.json index f3b3ed1e..dfa24c49 100644 --- a/exercises/practice/word-count/.meta/config.json +++ b/exercises/practice/word-count/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a phrase, count the occurrences of each word in that phrase.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "word_count.sh" + ], + "test": [ + "word_count_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour." } diff --git a/exercises/practice/wordy/.meta/config.json b/exercises/practice/wordy/.meta/config.json index 0267a543..167d7067 100644 --- a/exercises/practice/wordy/.meta/config.json +++ b/exercises/practice/wordy/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Parse and evaluate simple math word problems returning the answer as an integer.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "wordy.sh" + ], + "test": [ + "wordy_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "Inspired by one of the generated questions in the Extreme Startup game.", "source_url": "https://github.com/rchatley/extreme_startup" diff --git a/exercises/practice/yacht/.meta/config.json b/exercises/practice/yacht/.meta/config.json index 2e6c9e58..3efebb4b 100644 --- a/exercises/practice/yacht/.meta/config.json +++ b/exercises/practice/yacht/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Score a single throw of dice in the game Yacht", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "yacht.sh" + ], + "test": [ + "yacht_test.sh" + ], + "example": [ + ".meta/example.sh" + ] }, "source": "James Kilfiger, using wikipedia", "source_url": "https://en.wikipedia.org/wiki/Yacht_(dice_game)"