Skip to content

Commit cea2aa3

Browse files
committed
script to generate all actions from templates
1 parent bef08b1 commit cea2aa3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

templates/generate-all-actions.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
for t in $(find templates -name '*.sh.in') ; do
4+
genfile=`perl -e "print( q{${tt}} =~ m:templates/(.*?.sh).in: )"`
5+
perl templates/generate-action.pl "${genfile}" | tee "${genfile}" > /tmp/$(basename $f)
6+
done

0 commit comments

Comments
 (0)