Update personal_diploma.gemspec
This commit is contained in:
parent
ee631ba9a8
commit
23e150b7fa
|
@ -5,10 +5,9 @@ require "personal_diploma/version"
|
|||
app_path = File.expand_path(__dir__)
|
||||
template_path = ENV['PWD'] + '/app/templates'
|
||||
all_template = Dir.glob(template_path+'/*/')
|
||||
#puts 'copying module'
|
||||
puts 'copying module'
|
||||
all_template.each do |folder|
|
||||
puts folder.split('/')[-1][0...-1]
|
||||
if folder.split('/')[-1][0...-1] != 'mobile'
|
||||
if folder.split('/')[-1] != 'mobile'
|
||||
begin
|
||||
system ('cp -r '+ app_path + '/modules/ ' + folder)
|
||||
rescue
|
||||
|
|
Loading…
Reference in New Issue