This commit is contained in:
chiu 2020-02-16 10:43:19 +08:00
parent 7f8be64adb
commit acb10bd4c8
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ puts 'editing files for sassc'
new_gemfile_text = File.read(app_path+'/temp_file/Gemfile') new_gemfile_text = File.read(app_path+'/temp_file/Gemfile')
old_gemfile_text = File.read(ENV['PWD']+'/Gemfile') old_gemfile_text = File.read(ENV['PWD']+'/Gemfile')
check_texts = ['@import "../../bootstrap/variables";',".response-content {\n position: relative;\n\n @media (min-width: $screen-sm) {\n width: 100%;\n }\n\n @media (min-width: $screen-md) {\n width: 970px;\n }\n\n @media (min-width: $screen-lg) {\n width: 1100px;\n }\n}\n"] check_texts = ['@import "../../bootstrap/variables";',".response-content {\n position: relative;\n\n @media (min-width: $screen-sm) {\n width: 100%;\n }\n\n @media (min-width: $screen-md) {\n width: 970px;\n }\n\n @media (min-width: $screen-lg) {\n width: 1100px;\n }\n}\n"]
git_url = %x[cd '#{ENV['PWD']}' && git config --get remote.origin.url]
git_remote = %x[cd '#{ENV['PWD']}' && git remote]
puts ['git_url',git_url]
puts ['git_remote',git_remote]
all_template.each do |folder| all_template.each do |folder|
if !folder.include?('mobile') if !folder.include?('mobile')
begin begin