Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Dales mdales

View GitHub Profile
@mdales
mdales / dvtcolorconvert.rb
Created Jan 24, 2011 — forked from aktowns/dvtcolorconvert.rb
Fork of aktowns' excellent little script for converting xcode3 color themes to xcode4. Just added rubygems import
View dvtcolorconvert.rb
#!/usr/bin/env ruby
# This script converts xccolorthemes to dtvcolorthemes for porting xcode 3.x themes to xcode 4.x
# created by ashley towns <ashleyis@me.com>
# Public domain.
# ./dvtcolorconvert <inputfile>
# spits out a .dtvcolortheme file
require 'rubygems'
require 'plist'
raise "Error: need a source file #{__FILE__} [file.xccolortheme]" if ARGV.length == 0