forked from adamwiggins/clockwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
24 lines (19 loc) · 712 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "clockwork"
s.summary = "A scheduler process to replace cron."
s.description = "A scheduler process to replace cron, using a more flexible Ruby syntax running as a single long-running process. Inspired by rufus-scheduler and resque-scheduler."
s.author = "Adam Wiggins"
s.email = "adam@heroku.com"
s.homepage = "http://github.com/tomykaira/clockwork"
s.executables = [ "clockwork" ]
s.rubyforge_project = "clockwork"
s.files = FileList["[A-Z]*", "{bin,lib}/**/*"]
s.test_files = FileList["{test}/**/*"]
end
Jeweler::GemcutterTasks.new
task 'test' do
sh "ruby test/clockwork_test.rb"
end
task :build => :test
task :default => :test