Sha256: 3e95545f244160f8420d6f00227b18d83e427cbc09c97906e017fd96d769c49e
Contents?: true
Size: 458 Bytes
Versions: 9
Compression:
Stored size: 458 Bytes
Contents
task :start => :copy_files do system 'open http://localhost:9292/' system 'rackup app.ru' end desc 'copy latest sammy and jquery from lib and vendor' task :copy_files do root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) { ['lib', 'sammy.js'] => 'sammy.js', ['vendor', 'jquery-1.3.2.min.js'] => 'jquery.js' }.each do |from, to| FileUtils.cp(File.join(root, *from), File.join('public', 'javascripts', to)) end end
Version data entries
9 entries across 9 versions & 1 rubygems