Skip to content

Commit

Permalink
Add script to output current framework list as array
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Dec 6, 2015
1 parent b736f72 commit e9036ad
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions bin/show_fw_array.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

cd `dirname $0`
cd ..

# include framework list
. ./list.sh
targets="$list"

echo '['

for fw in $targets
do
if [ -d "$fw" ]; then
echo "\t'$fw',"
fi
done

echo ']'

0 comments on commit e9036ad

Please sign in to comment.