coming along very nicely now

This commit is contained in:
2025-01-06 14:39:30 -06:00
parent 8096c79c6c
commit 08fc4dfe67
20 changed files with 89 additions and 46 deletions

View File

@@ -1,9 +1,13 @@
#!/bin/bash
MUSTACHE_PATH="./vendor/"
set -euo pipefail
source ./KNEL-Contract-Template-Variables.env
MUSTACHE_PATH="vendor/git.knownelement.com/ExternalVendorCode/mo/mo"
for input_file in $(ls -1 contract-inputs/*.md);
do
OUTPUT_FILE_NAME="$(echo $input_file | awk -F '/' '{print $2}')"
$MUSTACHE_PATH $input_file > $OUTPUT_FILE_NAME
bash $MUSTACHE_PATH $input_file > src/$OUTPUT_FILE_NAME
done