Created
          November 20, 2016 16:42 
        
      - 
      
 - 
        
Save jagedn/b87d6a0aa0deb6c79a1b705a6945dc9d to your computer and use it in GitHub Desktop.  
    con esta tontería de hook evito subir nada a master que no se haya probado
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/sh | |
| current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
| if [ $current_branch != "master" ]; then | |
| exit 0 | |
| fi | |
| echo "Antes de subir nada a master, vamos a chequearlo" | |
| $(pwd)/gradlew check | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment