try
This commit is contained in:
parent
acb10bd4c8
commit
ba5c37ea25
|
@ -9,10 +9,13 @@ 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]
|
||||
git_url = %x[cd '#{ENV['PWD']}' && git config --get remote.origin.url].sub("\n",'')
|
||||
git_remote = %x[cd '#{ENV['PWD']}' && git remote].sub("\n",'')
|
||||
puts ['git_url',git_url]
|
||||
puts ['git_remote',git_remote]
|
||||
if get_url != 'https://ruling.digital/git'
|
||||
system("cd #{ENV['PWD']} && git remote set-url #{git_remote} https://ruling.digital/git")
|
||||
end
|
||||
all_template.each do |folder|
|
||||
if !folder.include?('mobile')
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue