Fixes #1 Allow for multiple artifacts

This commit is contained in:
Nick Cipollo
2019-09-02 17:20:04 -04:00
parent 261c1fc08b
commit a698287254
24 changed files with 462 additions and 167 deletions

11
src/Globber.ts Normal file
View File

@@ -0,0 +1,11 @@
import { GlobSync } from "glob";
export interface Globber {
glob(pattern: string): string[]
}
export class FileGlobber implements Globber {
glob(pattern: string): string[] {
return new GlobSync(pattern, { mark: true }).found
}
}