mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 23:35:00 -04:00
migrating 'source' and 'sass'
This commit is contained in:
parent
d5e43b501f
commit
9b599404c7
@ -86,6 +86,12 @@ begin
|
|||||||
f.write(deploy_configs.to_yaml)
|
f.write(deploy_configs.to_yaml)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# migrate old source to new
|
||||||
|
FileUtils.mv old_octo_dir("source"), new_octo_dir
|
||||||
|
|
||||||
|
# migrate old sass to new
|
||||||
|
FileUtils.mv old_octo_dir("sass"), new_octo_dir
|
||||||
|
|
||||||
# migrate custom themes
|
# migrate custom themes
|
||||||
custom_themes = Dir.glob(old_octo_dir('.themes', '*')).delete_if { |theme| theme =~ /\.themes\/classic/ }
|
custom_themes = Dir.glob(old_octo_dir('.themes', '*')).delete_if { |theme| theme =~ /\.themes\/classic/ }
|
||||||
FileUtils.cp_r custom_themes, new_octo_dir('.themes')
|
FileUtils.cp_r custom_themes, new_octo_dir('.themes')
|
||||||
|
Loading…
Reference in New Issue
Block a user