Sha256: 33c48b6e0c7430edf04faf19021de286bce4a599147c407619c987dae6adf700

Contents?: true

Size: 900 Bytes

Versions: 16

Compression:

Stored size: 900 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

require 'rake'

$LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), %w[lib]))

require '_APPLICATION_DOWNCODE_/application'

namespace :_APPLICATION_DOWNCODE_ do

  desc 'Create console'
  task :console do |task|
    system("clear; bundle exec ruby_app console")
  end

  desc 'Run'
  task :run do |task|
    system("clear; bundle exec ruby_app run")
  end

  namespace :cache do

    desc 'Create element cache'
    task :create do |task|
      _APPLICATION_UPCODE_::Application.create_cache(File.join(File.dirname(__FILE__), %w[lib _APPLICATION_DOWNCODE_ elements pages]), File.join(File.dirname(__FILE__), %w[lib]))
    end

    desc 'Delete element cache'
    task :destroy do |task|
      _APPLICATION_UPCODE_::Application.destroy_cache(File.join(File.dirname(__FILE__), %w[lib _APPLICATION_DOWNCODE_ elements]))
    end

  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
RubyApp-0.0.91 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.90 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.89 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.88 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.87 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.86 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.85 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.84 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.83 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.82 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.81 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.80 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.79 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.78 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.77 lib/ruby_app/templates/application/Rakefile
RubyApp-0.0.76 lib/ruby_app/templates/application/Rakefile