Blame view

Rakefile 574 Bytes
d4e63efe   Antonio Terceiro   Migration to Rail...
1
#!/usr/bin/env rake
6e8fe827   Rodrigo Souto   Hack to avoid dow...
2

d50eca43   AntonioTerceiro   initial import
3
4
5
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

d4e63efe   Antonio Terceiro   Migration to Rail...
6
require File.expand_path('../config/application', __FILE__)
d50eca43   AntonioTerceiro   initial import
7

d4e63efe   Antonio Terceiro   Migration to Rail...
8
Noosfero::Application.load_tasks
018ff85e   Antonio Terceiro   Restore loading o...
9
10
11
12
13
14
15
16
17

[
  "baseplugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake",
  "config/plugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake",
  "config/plugins/*/vendor/plugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake",
].map do |pattern|
  Dir.glob(pattern).sort
end.flatten.each do |taskfile|
  load taskfile
80dec54f   Ábner Silva de Oliveira   added hook to plu...
18
end