mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-04 00:13:20 +08:00
made gen create a fullout android proj
This commit is contained in:
parent
f8ae11993f
commit
cbff3812e8
@ -8,6 +8,8 @@ class Generate
|
|||||||
from = File.join ROOT, "example"
|
from = File.join ROOT, "example"
|
||||||
to = File.join FileUtils.pwd, name
|
to = File.join FileUtils.pwd, name
|
||||||
FileUtils.cp_r from, to
|
FileUtils.cp_r from, to
|
||||||
puts "Generated #{ to }"
|
Create.new(to)
|
||||||
|
FileUtils.rm_rf to
|
||||||
|
FileUtils.mv "#{ to }_android", to
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user