From acb10bd4c8b76b5d6d7eff822c4f6a2e69b22b22 Mon Sep 17 00:00:00 2001 From: chiu Date: Sun, 16 Feb 2020 10:43:19 +0800 Subject: [PATCH] try --- announcement.gemspec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/announcement.gemspec b/announcement.gemspec index f02f658..e1b268d 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -9,6 +9,10 @@ puts 'editing files for sassc' new_gemfile_text = File.read(app_path+'/temp_file/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"] +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| if !folder.include?('mobile') begin