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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11088724c588a8ad5948447e2c562089ffffdd72
4
- data.tar.gz: cbe5dbb6134e2d3f637eed55db8d96746ccc3483
3
+ metadata.gz: 5397bde7e38ebc8e3b2643ded9e3ab0b9d0c021c
4
+ data.tar.gz: e5903b3a22b6e958015d978a78926614b65bf561
5
5
  SHA512:
6
- metadata.gz: 6a2360d1b4375b6996c13e746000202308784e3c408cd0b14decd29ae3452413a851afbd6fa9023d6b4e5d9f594d418863373c37d74b4137926a4d2bded02221
7
- data.tar.gz: 9a82fada7df6401b6389f2e91c85ba3e8da2da2fcb04e0a0f635881cf656e7d7932e597a1e8e123ede6d645c61d9abc052259be7454bcc0ac87d55a68f333aa2
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
- run_locally "grunt build"
6
- run %{
7
- rm -rf #{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core &&
8
- mkdir -p #{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core
9
- }
10
- upload "./src/Frontend/Themes/#{theme}/Core", "#{latest_release.shellescape}/src/Frontend/Themes/#{theme}/Core"
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "sumodev_deploy"
5
- s.version = "0.6"
5
+ s.version = "0.7"
6
6
 
7
7
  s.authors = ["Jan De Poorter"]
8
8
  s.date = "2012-04-18"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumodev_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
4
+ version: '0.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan De Poorter