namespace :ae do
desc "Copies the ActiveExt javascripts, images and css to public. HINT: use rake ae:symlink if you are unix based systems"
task :copy_assets do
puts "1. Creating /public/assets/activeext if it doesn't exist"
FileUtils.mkdir_p(RAILS_ROOT + '/public/assets/activeext')
ae_public_directory = RAILS_ROOT + '/public/assets/activeext'
ae_plugin_dir = File.join(File.dirname(__FILE__), '..')
ae_vendor_assets_files = Dir[ae_plugin_dir + '/public/assets/activeext/*']
puts "2. Copying JS, CSS and images to " + ae_public_directory
FileUtils.cp_r(ae_vendor_assets_files, ae_public_directory)
puts "3. Creating a /config/activeext directory if it doesn't exist"
FileUtils.mkdir_p(RAILS_ROOT + '/config/activeext')
end
end
分享到:
相关推荐
-p, --frame-path <dir> - Store framework files into <dir> -t, --tag <tag> - Tag frameworks using Allow for a finer control over how the files are named and how they are stored. $ apktool if ...
from your current TC.EXE will be transferred to the new one. This is especially useful if you have modified the colors or editor keys. 3. Floppy Disk - This option will build either a command ...
Double click to follow JMPs and CALLs and use the Back button to trace back to the original positions. You can copy disassembled output to the clipboard. A new CADT core with custom String Reference ...
from your current TC.EXE will be transferred to the new one. This is especially useful if you have modified the colors or editor keys. 3. Floppy Disk - This option will build either a command ...
To run myAutToExe from other tools these options maybe helpful options: /q will quit myAutToExe when it is finished /s [required /q to be enable] RunSilent will completly hide myAutToExe The ...
Double click to follow JMPs and CALLs and use the Back button to trace back to the original positions. You can copy disassembled output to the clipboard. A new CADT core with custom String Reference ...
Double click to follow JMPs and CALLs and use the Back button to trace back to the original positions. You can copy disassembled output to the clipboard. A new CADT core with custom String Reference ...
PHP attempts to find and load this configuration from a number of locations. ; The following is a summary of its search order: ; 1. SAPI module specific location. ; 2. The PHPRC environment variable....
* other classes they depend on, such as an XML parser) out of the system * class path and therefore not visible to application level classes. * * @author Craig R. McClanahan * @author Remy ...