boomdesigngroup-crushserver 0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/crushserver/recipes.rb +14 -0
- metadata +1 -1
data/lib/crushserver/recipes.rb
CHANGED
|
@@ -12,6 +12,20 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
12
12
|
end
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
+
namespace(:asset) do
|
|
16
|
+
namespace(:packager) do
|
|
17
|
+
desc "Execute asset:packager:build_all rake task in appropriate environment"
|
|
18
|
+
task :build_all do
|
|
19
|
+
run "cd #{current_path}; rake RAILS_ENV=#{rails_env} asset:packager:build_all"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
desc "Execute asset:packager:delete_all rake task in appropriate environment"
|
|
23
|
+
task :delete_all do
|
|
24
|
+
run "cd #{current_path}; rake RAILS_ENV=#{rails_env} asset:packager:delete_all"
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
15
29
|
namespace(:bdg) do
|
|
16
30
|
namespace(:localize) do
|
|
17
31
|
# This should be overridden in deploy.rb
|