forked from github/cordova-android
Copy plugins.xml when creating a new project.
This commit is contained in:
parent
3bf48f82af
commit
cfc9631873
@ -97,6 +97,9 @@ class Classic
|
|||||||
# copies in the strings.xml
|
# copies in the strings.xml
|
||||||
FileUtils.mkdir_p File.join(app_res_dir, "values")
|
FileUtils.mkdir_p File.join(app_res_dir, "values")
|
||||||
FileUtils.cp File.join(framework_res_dir, "values","strings.xml"), File.join(app_res_dir, "values", "strings.xml")
|
FileUtils.cp File.join(framework_res_dir, "values","strings.xml"), File.join(app_res_dir, "values", "strings.xml")
|
||||||
|
# copies in plugins.xml
|
||||||
|
FileUtils.mkdir_p File.join(app_res_dir, "xml")
|
||||||
|
FileUtils.cp File.join(framework_res_dir, "xml","plugins.xml"), File.join(app_res_dir, "xml", "plugins.xml")
|
||||||
# drops in the layout files: main.xml and preview.xml
|
# drops in the layout files: main.xml and preview.xml
|
||||||
FileUtils.mkdir_p File.join(app_res_dir, "layout")
|
FileUtils.mkdir_p File.join(app_res_dir, "layout")
|
||||||
%w(main.xml).each do |f|
|
%w(main.xml).each do |f|
|
||||||
|
Loading…
Reference in New Issue
Block a user