Sha256: bb4b2702812203f535165e2d840210a1594d11ae729d912a7b37a7191314bc02
Contents?: true
Size: 748 Bytes
Versions: 26
Compression:
Stored size: 748 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_' namespace :_APPLICATION_DOWNCODE_ do desc 'Create console' task :console do |task| system("clear; bundle exec ruby_app console") end desc 'Run' task :run => ['_APPLICATION_DOWNCODE_:cache:destroy'] do |task| system("clear; bundle exec ruby_app run") end namespace :cache do desc 'List all cached files' task :list do system('find . | grep \'\\.cache\'') end desc 'Remove all cached files' task :destroy do puts 'Removing cached files ...' system('find . -name \'.cache\' | xargs rm -rv') end end end
Version data entries
26 entries across 26 versions & 1 rubygems