kstrano 1.1.7 → 1.1.8
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/kstrano_play.rb +1 -7
- 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
|
-
|
|
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.
|
|
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-
|
|
12
|
+
date: 2013-10-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capifony
|