Sha256: f39a6ad78674616a12655237c2d4cb5772eb493077b6d29beb50a5db1d46ed9f
Contents?: true
Size: 710 Bytes
Versions: 13
Compression:
Stored size: 710 Bytes
Contents
# Undefined unneeded tasks in instance mode unless Radiant.app? def undefine_task(*names) app = Rake.application tasks = app.instance_variable_get('@tasks') names.flatten.each { |name| tasks.delete(name) } end undefine_task %w( radiant:clobber_package radiant:install_gem radiant:package radiant:release radiant:repackage radiant:uninstall_gem radiant:import:prototype:stylesheets radiant:import:prototype:images radiant:import:prototype:javascripts radiant:import:prototype:assets rails:freeze:edge rails:freeze:gems rails:unfreeze rails:update rails:update:configs rails:update:javascripts rails:update:scripts ) end
Version data entries
13 entries across 13 versions & 1 rubygems