Created
December 9, 2014 14:05
-
-
Save ligi/a093131d3e4667ec50ed to your computer and use it in GitHub Desktop.
import material design icons
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
#!/usr/bin/env groovy | |
def material_home="/home/ligi/git/3rd/material-design-icons/" | |
def cat=args[0] | |
def elm=args[1] | |
["xhdpi","mdpi","hdpi","xxhdpi","xxxhdpi"].each() { | |
"mkdir drawable-$it".execute() | |
def cmd="cp $material_home$cat/drawable-$it/$elm"+".png drawable-$it" | |
println cmd | |
println cmd.execute() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment