Skip to content

Commit

Permalink
script to generate all actions from templates
Browse files Browse the repository at this point in the history
  • Loading branch information
cjac committed Jan 10, 2025
1 parent bef08b1 commit aa792c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/generate-all-actions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

for tt in $(find templates -name '*.sh.in') ; do
genfile=`perl -e "print( q{${tt}} =~ m:templates/(.*?.sh).in: )"`
perl templates/generate-action.pl "${genfile}" | tee "${genfile}" > /tmp/$(basename $genfile)
done

0 comments on commit aa792c3

Please sign in to comment.