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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 921db7f8b7c41deedd0cfeb464aa1c6e57daf543
4
- data.tar.gz: cdfdce5bcc529ddf3a683c17e4bba254a5236646
3
+ metadata.gz: 354dce50a5d32d8d1fe57dbddfc14c327a22155f
4
+ data.tar.gz: 6db904b65ed087d6cb7db14f49dbe73100e52d07
5
5
  SHA512:
6
- metadata.gz: 18b98c0a830f51c63f85be967c8d90b1abff4bd2abcd510155cec093dcef3d676aeb106083bfa4106e5976a151509782104785bc87f49b915e96733853640b22
7
- data.tar.gz: fb7e8d554b2fe4500111e325c2fa285b16615a95be4b3fc09283fd7e5845c7dc8ffc0697e5000083fea54e2c9de33d53b51701556fbec9cc9854373e4ab037f9
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: droiuby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph Emmanuel Dayo