public
Description: The solution for tabitus of the browser
Homepage: http://overstimulate.com/projects/taboo
Clone URL: git://github.com/anotherjesse/taboo.git
taboo / rakefile.rb
100644 14 lines (10 sloc) 0.404 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
task :default => ['components/oyITaboo.xpt', :xpi]
 
file 'components/oyITaboo.xpt' => 'components/oyITaboo.idl' do
  puts "Generating oyITaboo.xpt. (requires flock dev environment)"
  `xpidl -m typelib -w -v -I $o/dist/idl -o components/oyITaboo components/oyITaboo.idl`
end
 
 
task :xpi do
  rm_f 'taboo.xpi'
  `find chrome chrome.manifest components install.rdf -type f \
| xargs zip taboo.xpi`
end