Sha256: bceda82a8c2005192b1f2ccc19574c0cc7ce9ad89f816c26aef7dd4ec18682cc
Contents?: true
Size: 992 Bytes
Versions: 20
Compression:
Stored size: 992 Bytes
Contents
server :local, :address => "127.0.0.1", :user => "root", :password => "none" task :setup_rails, :local => true do local "mkdir -p config/screwcap" local "mkdir -p lib/tasks" local <<-EOF if [ -f config/screwcap/rails_tasks.rb ] then echo "config/screwcap/rails_tasks.rb already exists!"; exit 1 else curl -s https://github.com/gammons/screwcap_recipes/raw/master/rails/rails_tasks.rb > config/screwcap/rails_tasks.rb fi EOF local <<-EOF if [ -f lib/tasks/screwcap.rake ] then echo "lib/tasks/screwcap.rake already exists!"; exit 1 else curl -s https://github.com/gammons/screwcap_recipes/raw/master/rails/screwcap.rake > lib/tasks/screwcap.rake fi EOF local <<-EOF if [ -f config/screwcap/recipe.rb ] then echo "config/screwcap/recipe.rb already exists!"; exit 1 else curl -s https://github.com/gammons/screwcap_recipes/raw/master/rails/recipe.rb > config/screwcap/recipe.rb fi EOF end
Version data entries
20 entries across 20 versions & 1 rubygems