Sha256: ca67d640d30f13cf40cf8bf06ff4cbdf23d3aea34243cb730d12ce853d769ce2

Contents?: true

Size: 690 Bytes

Versions: 5

Compression:

Stored size: 690 Bytes

Contents

desc 'Create development picolena structure inside lib/picolena/templates'
task :lets_hack => :clean do
  picolena_root=File.join(File.dirname(__FILE__),'..')
  Dir.chdir(picolena_root){
    # Doesn't overwrite any file, Doesn't create any index, Doesn't launch any spec.
    system("ruby bin/picolena lib/picolena/templates/spec/test_dirs/indexed --no-index --no-spec --destination=lib/picolena/templates")
  }
  puts <<-EXPLAIN

  You now have a complete picolena installation in:
    #{File.expand_path(File.join(File.dirname(__FILE__),'../lib/picolena/templates'))}

  You can now hack and submit patches!

  Once done, you can remove those files by typing:
    rake clean
  EXPLAIN
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
picolena-0.1.6 tasks/hack.rake
picolena-0.1.7 tasks/hack.rake
picolena-0.2.0 tasks/hack.rake
picolena-0.1.8 tasks/hack.rake
picolena-0.2.2 tasks/hack.rake