(cwd, filenames)
| 163 | } |
| 164 | |
| 165 | async buildCommand(cwd, filenames) { |
| 166 | if (filenames && filenames.length) { |
| 167 | const files = await this.getFiles(cwd, filenames) |
| 168 | this.log(`Building ${filenames.length} scroll files\n`) |
| 169 | return await this.buildFiles(this.sfs, files, cwd) |
| 170 | } |
| 171 | await this.buildFilesInFolder(this.resolvePath(cwd)) |
| 172 | return this |
| 173 | } |
| 174 | |
| 175 | async buildFiles(fileSystem, files, folder, options = {}) { |
| 176 | const start = Date.now() |
no test coverage detected