Created
May 12, 2015 20:26
-
-
Save panych/8387ec3926f3b048a23e to your computer and use it in GitHub Desktop.
Simple jar package builder for IDEA color theme
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 | |
# Originaly: https://github.com/jkaving/intellij-colors-solarized/blob/master/buildjar.sh | |
# Create the "colors" directory for the scheme files | |
# and copy all passed file there | |
mkdir colors | |
cp $* colors | |
# Create an empty "IntelliJ IDEA Global Settings" file, | |
# needed to be able to import the JAR using "Import Settings..." | |
touch IntelliJ\ IDEA\ Global\ Settings | |
# Create the JAR file | |
jar cfM settings.jar IntelliJ\ IDEA\ Global\ Settings colors | |
# Cleanup | |
rm -r colors | |
rm IntelliJ\ IDEA\ Global\ Settings | |
echo "IntelliJ IDEA settings.jar created for themes: $*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment