mirror of
https://github.com/scratchfoundation/jquery-timeago.git
synced 2025-02-17 00:20:32 -05:00
Added a lame 'rake test' task
This commit is contained in:
parent
7efe3f0378
commit
ae48586030
1 changed files with 8 additions and 1 deletions
9
Rakefile
9
Rakefile
|
@ -3,9 +3,16 @@ SETTINGS = {
|
|||
'rsync_options' => ENV['rsync_options'] || '-e ssh -avz --delete --exclude=.git'
|
||||
}
|
||||
|
||||
desc 'Publishes to server (edit Rakefile to config)'
|
||||
task :default => :test
|
||||
|
||||
desc 'Publish to server (edit Rakefile to config)'
|
||||
task :publish do
|
||||
cmd = "rsync #{SETTINGS['rsync_options']} ./ #{SETTINGS['rsync_server']}"
|
||||
puts "\nSyncing with server: #{cmd}\n\n"
|
||||
system(cmd)
|
||||
end
|
||||
|
||||
desc 'Open your default browser with the test page'
|
||||
task :test do
|
||||
system("open test.html")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue