File: Rakefile

package info (click to toggle)
grok 1.20110708.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,388 kB
  • sloc: ansic: 3,469; ruby: 987; makefile: 276; sh: 124; yacc: 106
file content (12 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
task :default => [:package]

task :package do
  system("make -C ext clean; rm ext/Makefile")
  system("svn up")
  system("gem build grok.gemspec")
end

task :publish do
  latest_gem = %x{ls -t jls-grok*.gem}.split("\n").first
  system("gem push #{latest_gem}")
end