mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 13:09:17 +00:00
deprecated trans_r/w for install/update
This commit is contained in:
@@ -46,9 +46,9 @@ def fake_config(path, dotfiles, profile,
|
||||
file.write(' actions:\n')
|
||||
for action in dotfile.actions:
|
||||
file.write(f' - {action.key}\n')
|
||||
if dotfile.trans_r:
|
||||
for trans in dotfile.trans_r:
|
||||
file.write(f' trans_read: {trans.key}\n')
|
||||
if dotfile.trans_install:
|
||||
for trans in dotfile.trans_install:
|
||||
file.write(f' trans_install: {trans.key}\n')
|
||||
file.write('profiles:\n')
|
||||
file.write(f' {profile}:\n')
|
||||
file.write(' dotfiles:\n')
|
||||
@@ -174,7 +174,7 @@ exec bspwm
|
||||
fcontent9, _ = create_random_file(tmp, content=trans1)
|
||||
dst9 = os.path.join(dst, get_string(6))
|
||||
dotfile9 = Dotfile(get_string(6), dst9, os.path.basename(fcontent9),
|
||||
trans_r=[the_trans])
|
||||
trans_install=[the_trans])
|
||||
|
||||
# to test template
|
||||
f10, _ = create_random_file(tmp, content='{{@@ header() @@}}')
|
||||
|
||||
Reference in New Issue
Block a user