feat(migrate): add package handling
This commit is contained in:
parent
ec73edba24
commit
4388fc0ba6
|
@ -0,0 +1,3 @@
|
|||
matches:
|
||||
- trigger: "custom"
|
||||
replace: "match"
|
|
@ -0,0 +1,3 @@
|
|||
matches:
|
||||
- trigger: "package_foo"
|
||||
replace: "package_bar"
|
9
espanso-migrate/test/base/legacy/packages/foo/README.md
Normal file
9
espanso-migrate/test/base/legacy/packages/foo/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
package_name: "foo"
|
||||
package_title: "Foo"
|
||||
package_desc: "Foo package"
|
||||
package_version: "0.1.0"
|
||||
package_author: "Federico Terzi"
|
||||
package_repo: "https://github.com/federico-terzi/espanso-hub-core"
|
||||
---
|
||||
Test package
|
6
espanso-migrate/test/base/legacy/packages/foo/custom.yml
Normal file
6
espanso-migrate/test/base/legacy/packages/foo/custom.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
name: foo
|
||||
parent: default
|
||||
|
||||
matches:
|
||||
- trigger: "custom"
|
||||
replace: "match"
|
|
@ -0,0 +1,6 @@
|
|||
name: foo
|
||||
parent: default
|
||||
|
||||
matches:
|
||||
- trigger: "package_foo"
|
||||
replace: "package_bar"
|
Loading…
Reference in New Issue
Block a user