droiuby 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/droiuby/scripts/project.rb +11 -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: 354dce50a5d32d8d1fe57dbddfc14c327a22155f
|
4
|
+
data.tar.gz: 6db904b65ed087d6cb7db14f49dbe73100e52d07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a574bb742d3a50fb0e883fcb1aa24135a7c1d70a9009cb5ddaac371bf83d4046af96b809e14c2942c46259515ebc58333e6dbeede13b03b346824536b0c358fa
|
7
|
+
data.tar.gz: f3795ea8cd5872e98a3d6767ee85d28ce7c3a1b7adf6eab6b4b209b848fa10d827bd518a120f23557ff6c12a5b7c1e59f0ddb0e51d42ec6e3ef40ed6074ef10c
|
@@ -194,8 +194,16 @@ class Project < Thor
|
|
194
194
|
else
|
195
195
|
File.join(source_dir, name)
|
196
196
|
end
|
197
|
+
|
197
198
|
say "compress #{src_folder}"
|
198
|
-
compress(src_folder, force)
|
199
|
+
archive = compress(src_folder, force)
|
200
|
+
|
201
|
+
project_directory = File.join(src_folder,'project')
|
202
|
+
say "Checking if #{project_directory}"
|
203
|
+
if File.exists? project_directory
|
204
|
+
say "Android Project exists. Updating build inside assets ..."
|
205
|
+
copy_file archive, File.join(project_directory,'assets',File.basename(archive))
|
206
|
+
end
|
199
207
|
end
|
200
208
|
|
201
209
|
require 'webrick'
|
@@ -369,5 +377,7 @@ class Project < Thor
|
|
369
377
|
end
|
370
378
|
say_status 'create', archive
|
371
379
|
end
|
380
|
+
|
381
|
+
archive
|
372
382
|
end
|
373
383
|
end
|