Skip to content

Commit e9036ad

Browse files
committed
Add script to output current framework list as array
1 parent b736f72 commit e9036ad

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

bin/show_fw_array.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/sh
2+
3+
cd `dirname $0`
4+
cd ..
5+
6+
# include framework list
7+
. ./list.sh
8+
targets="$list"
9+
10+
echo '['
11+
12+
for fw in $targets
13+
do
14+
if [ -d "$fw" ]; then
15+
echo "\t'$fw',"
16+
fi
17+
done
18+
19+
echo ']'

0 commit comments

Comments
 (0)