mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 01:30:12 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
15
vendor/plugins/unobtrusive_javascript/tasks/unobtrusive_javascript_tasks.rake
vendored
Normal file
15
vendor/plugins/unobtrusive_javascript/tasks/unobtrusive_javascript_tasks.rake
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
namespace :unobtrusive_javascript do
|
||||
|
||||
PLUGIN_ROOT = File.dirname(__FILE__) + '/../'
|
||||
|
||||
desc 'Installs required javascript files to the public/javascripts directory.'
|
||||
task :install do
|
||||
FileUtils.cp Dir[PLUGIN_ROOT + '/assets/javascripts/*.js'], RAILS_ROOT + '/public/javascripts'
|
||||
end
|
||||
|
||||
desc 'Removes the javascripts for the plugin.'
|
||||
task :remove do
|
||||
FileUtils.rm %{lowpro.js}.collect { |f| RAILS_ROOT + "/public/javascripts/" + f }
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue