Skip to content

Commit

Permalink
Allow lunch menu to include all our official devices
Browse files Browse the repository at this point in the history
from official_devices/devices.json file
  • Loading branch information
jhenrique09 committed May 5, 2018
1 parent 4f7c072 commit 6c6c905
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
for device in $(curl -s https://raw.githubusercontent.com/PixelExperience/official_devices/master/devices.json | sed 's/ //; /^$/d' | grep -Po '\"codename\": ".*?"' | sed -e 's/codename//;s/\"//g;s/\: //')
do
add_lunch_combo aosp_$device-userdebug
done

0 comments on commit 6c6c905

Please sign in to comment.