topfunky (owner)

Revisions

gist: 207185 Download_button fork
public
Public Clone URL: git://gist.github.com/207185.git
Embed All Files: show embed
Ruby #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Convert xib files to Cappuccino cib files.
#
# Run with
#
# rake cib
#
# Will only re-generate the XIB files that are newer than their CIB counterparts.
 
rule '.cib' => '.xib' do |t|
  system "nib2cib #{t.source}"
end
 
CIB_FILES = Dir['Resources/*.xib'].map {|t| t.sub(/\.xib/, '.cib')}
 
desc "Generate cib files"
task :cib => CIB_FILES