Refactor travis testing
This commit is contained in:
6
projects/nat-archive-tool/src/nat/systems/TagSystem.hx
Normal file
6
projects/nat-archive-tool/src/nat/systems/TagSystem.hx
Normal file
@@ -0,0 +1,6 @@
|
||||
package nat.systems;
|
||||
|
||||
import kiss.Prelude;
|
||||
|
||||
@:build(kiss.Kiss.build())
|
||||
class TagSystem extends System {}
|
||||
9
projects/nat-archive-tool/src/nat/systems/TagSystem.kiss
Normal file
9
projects/nat-archive-tool/src/nat/systems/TagSystem.kiss
Normal file
@@ -0,0 +1,9 @@
|
||||
(load "../Lib.kiss")
|
||||
|
||||
// TODO make a &super annotation that passes an argument to the super constructor
|
||||
(defnew [&prop :String tagFilterString
|
||||
&prop :EntryProcessor processor]
|
||||
[]
|
||||
(super
|
||||
(lambda [:Archive archive :Entry e] (tagsMatch archive e tagFilterString))
|
||||
processor))
|
||||
Reference in New Issue
Block a user