GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Makes mailto: links load your webmail's compose page and adds a Compose link to the context menu.
Homepage: http://github.com/kommen/webmailcompose/
Clone URL: git://github.com/kommen/webmailcompose.git
Click here to lend your support to: webmailcompose and make a donation at www.pledgie.com !
kommen (author)
Tue May 13 15:04:17 -0700 2008
commit  a023f9b97bd0864a87aea4b52b6ef83f58c9c33d
tree    e728ada6a4174ee2982aea4ac548153ff2fbf1b2
parent  b3a1baead23680a67bd51adabeea4cb2ac28e51f
webmailcompose / Rakefile
100644 26 lines (20 sloc) 0.471 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require 'rake'
require 'fileutils'
include FileUtils
 
task :default => :package
 
desc "Build webmailcompose.xpi"
task :package do |t|
  rm_rf %w(tmp dist)
  mkdir %w(tmp dist)
  mkdir "tmp/chrome"
  
  cd "src/chrome/" do
    %x(/usr/bin/jar cfM ../../tmp/chrome/webmailcompose.jar *)
  end
  
  cd "src/" do
    cp %w(install.js install.rdf license.txt), "../tmp/"
  end
  
  cd "tmp/" do
    %x(/usr/bin/zip -r ../dist/webmailcompose.xpi *)
  end
  
  rm_rf %w(tmp)
end