Skip to content

Commit

Permalink
script to update internal types
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Jun 9, 2024
1 parent 5fc45de commit 13ff16d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/scripts/generate_types.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# Grep all *.toml files in the types directory recursively
GEN_FILES=$(find types -name '*.toml')

# Iterate over each file
for file in $GEN_FILES; do
# Generate the go file
echo "Generating $file"
md-models pipeline -i $file
done

0 comments on commit 13ff16d

Please sign in to comment.