Add test script

This commit is contained in:
Alex Yatskov 2024-02-19 10:06:00 -08:00
parent 648ab12c5b
commit ea28b5c8cf
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func (self *fileImporter) Initialize(context *Context) error {
relPath, err := filepath.Rel(self.sourceDir, path)
if err != nil {
panic(err)
return err
}
file, err := context.CreateFileFromAsset(relPath, path)

2
test.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash -e
go test ./filters/... ./plugins/...