Sha256: d9eaf8f1495b351d4fecc8e826a2bf7c065c1e2b96699342a6ad234b95805d01

Contents?: true

Size: 721 Bytes

Versions: 52

Compression:

Stored size: 721 Bytes

Contents

require 'rubygems'
require "bundler/setup"
require 'gumdrop'

# For the SYNC task
USER='user'
SERVER='server.com'
FOLDER="~/#{SERVER}"

# Build folder (change if you change Gumdrop.config.output_dir)
OUTPUT="output/"

desc "Build source files into output_dir"
task :build do
  system("bundle exec gumdrop -b")
end

desc "Run development server"
task :serve do
  system("bundle exec gumdrop -s")
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

desc "Outputs the Gumdrop version"
task :version do
  puts Gumdrop::VERSION
end

task :default do
  puts `rake -T`
end

Version data entries

52 entries across 27 versions & 1 rubygems

Version Path
gumdrop-0.8.0 templates/backbone/Rakefile
gumdrop-0.7.5 templates/backbone/Rakefile
gumdrop-0.7.5 templates/default/Rakefile
gumdrop-0.7.4 templates/default/Rakefile
gumdrop-0.7.4 templates/backbone/Rakefile
gumdrop-0.7.3.1 templates/backbone/Rakefile
gumdrop-0.7.3.1 templates/default/Rakefile
gumdrop-0.7.3 templates/backbone/Rakefile
gumdrop-0.7.3 templates/default/Rakefile
gumdrop-0.7.2 templates/backbone/Rakefile
gumdrop-0.7.2 templates/default/Rakefile
gumdrop-0.7.1 templates/default/Rakefile
gumdrop-0.7.1 templates/backbone/Rakefile
gumdrop-0.7.0 templates/backbone/Rakefile
gumdrop-0.7.0 templates/default/Rakefile
gumdrop-0.6.4 templates/default/Rakefile
gumdrop-0.6.4 templates/backbone/Rakefile
gumdrop-0.6.3 templates/backbone/Rakefile
gumdrop-0.6.3 templates/default/Rakefile
gumdrop-0.6.2 templates/backbone/Rakefile