kstrano 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/kstrano_play.rb +1 -7
  2. metadata +2 -2
data/lib/kstrano_play.rb CHANGED
@@ -26,13 +26,7 @@ module KStrano
26
26
  namespace :play do
27
27
  desc "Build the app"
28
28
  task :package do
29
- unless File.directory?("/home/projects/#{application}/play/play-#{play_version}")
30
- try_sudo "bash -ic 'cd /home/projects/#{application}/play &&
31
- wget http://downloads.typesafe.com/play/#{play_version}/play-#{play_version}.zip &&
32
- unzip play-#{play_version}.zip &&
33
- rm play-#{play_version}.zip &&
34
- chmod -R 775 play-#{play_version}'"
35
- end
29
+ try_sudo "bash -ic 'if [ ! -d /home/projects/#{application}/play/play-#{play_version} ]; then cd /home/projects/#{application}/play && wget http://downloads.typesafe.com/play/#{play_version}/play-#{play_version}.zip && unzip play-#{play_version}.zip && rm play-#{play_version}.zip && chmod -R 775 play-#{play_version}; fi'"
36
30
  try_sudo "bash -c 'cd #{latest_release} && /home/projects/#{application}/play/play-#{play_version}/play clean compile stage'"
37
31
  end
38
32
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kstrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-01 00:00:00.000000000 Z
12
+ date: 2013-10-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capifony