Sha256: a2434f9a3c4aa9d207cfc3e6c1f6ccf7ee1ebd596358bb5388ff2d60ba95d78e

Contents?: true

Size: 483 Bytes

Versions: 25

Compression:

Stored size: 483 Bytes

Contents

namespace :fcsh do

  desc "Start the FCSHD process (or use air:fcshd)"
  task :start do  
    puts "Starting FCSHD..."
    PatternPark::FCSHD.start_from_rake(ENV)
  end
    
  desc "Stop the FCSHD process"
  task :stop do
    begin
      fcsh = PatternPark::FCSH.new_from_rake(ENV)
      fcsh.stop
    rescue
      puts "Could not stop FCSHD"
    end
  end

  desc "Restart the FCSHD process"
  task :restart => [ :stop, :sleep, :start ]
  
  task :sleep do
    sleep 2
  end
  
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
airake-0.1.11 lib/airake/tasks/fcsh.rake
airake-0.1.10 lib/airake/tasks/fcsh.rake
airake-0.1.12 lib/airake/tasks/fcsh.rake
airake-0.2.10 lib/airake/tasks/fcsh.rake
airake-0.2.1 lib/airake/tasks/fcsh.rake
airake-0.2.11 lib/airake/tasks/fcsh.rake
airake-0.2.14 lib/airake/tasks/fcsh.rake
airake-0.2.3 lib/airake/tasks/fcsh.rake
airake-0.2.5 lib/airake/tasks/fcsh.rake
airake-0.2.13 lib/airake/tasks/fcsh.rake
airake-0.2.2 lib/airake/tasks/fcsh.rake
airake-0.2.12 lib/airake/tasks/fcsh.rake
airake-0.2.4 lib/airake/tasks/fcsh.rake
airake-0.3.2 lib/airake/tasks/fcsh.rake
airake-0.2.6 lib/airake/tasks/fcsh.rake
airake-0.2.7 lib/airake/tasks/fcsh.rake
airake-0.2.9 lib/airake/tasks/fcsh.rake
airake-0.4.0 lib/airake/tasks/fcsh.rake
airake-0.2.8 lib/airake/tasks/fcsh.rake
airake-0.3.1 lib/airake/tasks/fcsh.rake