Created
March 26, 2013 12:14
-
-
Save allanbatista/5244947 to your computer and use it in GitHub Desktop.
Git, retorna somente os arquivos modificados passando para um variavel em shell separado por espaço.
This file contains 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/bash | |
css=$(git status --porcelain | sed -e 's!.*/!!' | sed -e "s/css\///g" | grep "\.css$" | tr "\n" ',') | |
ant css-homologacao -Dcss.files=$css | |
ant homologacao |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment