Sha256: 95c17157c82636615aaeee06a7d313c7ef8efca37dfafeb460cb59e2a8a9c47d
Contents?: true
Size: 615 Bytes
Versions: 5
Compression:
Stored size: 615 Bytes
Contents
# $Id$ namespace :heel do desc 'start the heel server to view website (not for Windows)' task :start do sh "heel --root #{SITE.output_dir} --daemonize" end desc 'stop the heel server' task :stop do sh "heel --kill" end task :autorun do heel_exe = File.join(Gem.bindir, 'heel') @heel_spawner = Spawner.new(Spawner.ruby, heel_exe, '--root', SITE.output_dir, :pause => 86_400) @heel_spawner.start end task :autobuild => :autorun do at_exit {@heel_spawner.stop if defined? @heel_spawner and not @heel_spawner.nil?} end end task :autobuild => 'heel:autobuild' # EOF
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
webby-0.7.1 | data/tasks/heel.rake |
webby-0.7.0 | data/tasks/heel.rake |
webby-0.7.2 | data/tasks/heel.rake |
webby-0.7.4 | data/tasks/heel.rake |
webby-0.7.3 | data/tasks/heel.rake |