Sha256: f059d102054062c1ce2ebf947a405ecb037827e5fd43556b75418318dfeebecd
Contents?: true
Size: 527 Bytes
Versions: 3
Compression:
Stored size: 527 Bytes
Contents
require 'rubygems' require "bundler/setup" require 'gumdrop' # For the SYNC task USER='user' SERVER='server.com' FOLDER="~/#{SERVER}" task :default do sh 'rake -T' end desc "Build source files into output" task :build do Gumdrop.run() end desc "Run development server" task :serve do Gumdrop::Server.start() end desc "Syncs with public server using rsync (if configured)" task :sync do cmd= "rsync -avz --delete output/ #{USER}@#{SERVER}:#{FOLDER}" puts "Running:\n#{cmd}\n" system(cmd) puts "Done." end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gumdrop-0.2.3 | lib/gumdrop/template/Rakefile |
gumdrop-0.2.2 | lib/gumdrop/template/Rakefile |
gumdrop-0.2.1 | lib/gumdrop/template/Rakefile |