From 3ddeb0a3245cde61be3c718187c8d2a3413f52e6 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 26 Jul 2024 08:35:17 +0200 Subject: [PATCH] Add sync cobolcheck script (#157) --- bin/sync-fetch-cobolcheck-files | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/sync-fetch-cobolcheck-files diff --git a/bin/sync-fetch-cobolcheck-files b/bin/sync-fetch-cobolcheck-files new file mode 100755 index 00000000..6400e009 --- /dev/null +++ b/bin/sync-fetch-cobolcheck-files @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -euo pipefail + +shopt -s nullglob +for test_dir in exercises/{concept,practice}/*; do + for file in fetch-cobolcheck fetch-cobolcheck.ps1; do + cp "bin/${file}" "${test_dir}/bin/${file}" + done +done