Sha256: 7609b85d9284482aa0cc202cfd86e759e89aa4b7475195e52d474243b8e9b973

Contents?: true

Size: 704 Bytes

Versions: 3

Compression:

Stored size: 704 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new do |t|
  t.pattern = "test/test*.rb"
end

desc "gitoe (development)"
task :run do
  ENV["RACK_ENV"] = "development"
  sh "bundle exec gitoe -o --port=3000"
end

desc "gitoe (production)"
task :production do
  ENV["RACK_ENV"] = "production"
  sh "bundle exec gitoe"
end

task :demo do
  ENV["RACK_ENV"] = "production"
  sh "bundle exec gitoe -o --port=12345"
end

desc "watch and re-compile with guard"
task :guard do
  sh "bundle exec guard"
end

desc "watch and re-compile with guard"
task :watch do
  sh "bundle exec nanoc watch"
end

desc "compile with nanoc"
task :compile do
  sh "bundle exec nanoc"
end

task :default => :run

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gitoe-0.1.3 Rakefile
gitoe-0.1.2 Rakefile
gitoe-0.1.1 Rakefile