sumodev_deploy 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sumodev_deploy/tasks/assets.rb +10 -6
- data/sumodev_deploy.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5397bde7e38ebc8e3b2643ded9e3ab0b9d0c021c
|
4
|
+
data.tar.gz: e5903b3a22b6e958015d978a78926614b65bf561
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7865e08c11ae9d4efe363e17874a073ffe69e81437d8576a576b8087d054dfa640b8f895c28ccff18724fa3af4ce0c133776496d28bed8b9bda93037b5a3f4b
|
7
|
+
data.tar.gz: ab4b288164625ce0fd2862a3fb7881f36cdf316963f21f12827b05a19169c49b722d813b17481140b2e34f5ef983990e4d0c0b091b8721d0e15c34c85029c7a0
|
@@ -2,12 +2,16 @@ Capistrano::Configuration.instance.load do
|
|
2
2
|
namespace :assets do
|
3
3
|
desc "Compile and upload the assets"
|
4
4
|
task :precompile do
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
if !File.exist?("Gruntfile.coffee")
|
6
|
+
logger.important "No Gruntfile.coffee found"
|
7
|
+
else
|
8
|
+
run_locally "grunt build"
|
9
|
+
run %{
|
10
|
+
rm -rf #{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core &&
|
11
|
+
mkdir -p #{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core
|
12
|
+
}
|
13
|
+
upload "./src/Frontend/Themes/#{theme}/Core", "#{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core"
|
14
|
+
end
|
11
15
|
end
|
12
16
|
end
|
13
17
|
end
|
data/sumodev_deploy.gemspec
CHANGED