dtalley11

CI script

Feb 1st, 2013
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.88 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. export CL_RED="\"\033[31m\""
  3. export CL_GRN="\"\033[32m\""
  4. export CL_YLW="\"\033[33m\""
  5. export CL_BLU="\"\033[34m\""
  6. export CL_MAG="\"\033[35m\""
  7. export CL_CYN="\"\033[36m\""
  8. export CL_RST="\"\033[0m\""
  9. export BUILD_WITH_COLORS=0
  10.  
  11. git config --global user.name 'name'
  12. git config --global user.email '[email protected]'
  13. rm -r -f recovery
  14. mkdir -p ~/bin
  15. export PATH=~/bin:$PATH
  16. curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
  17. chmod a+x ~/bin/repo
  18. #if [ ! -d "recovery" ]; then
  19. mkdir recovery
  20. #fi
  21. cd recovery
  22. repo init -u git://github.com/androidarmv6/android.git -b ics
  23. # curl https://github.com/teamgelato/manifest/raw/master/local_manifest.xml > ./.repo/local_manifest.xml
  24. curl $manifest > ./.repo/local_manifest.xml
  25. repo sync
  26. if [ ! -d ./device/lge/gelato ];
  27. lunch $LUNCH
  28. make -j2 recoveryimage
  29. cp $OUT/recovery.img $WORKSPACE/archive
Advertisement
Add Comment
Please, Sign In to add comment