(filename)
| 237 | // Returns an absolute path for a file, resolving it relative to this script |
| 238 | // (i.e. relative to the src/ directory). |
| 239 | export function localFile(filename) { |
| 240 | assert(!path.isAbsolute(filename)); |
| 241 | return path.join(srcDir, filename); |
| 242 | } |
| 243 | |
| 244 | // Helper function for JS library files that can be used to read files |
| 245 | // relative to the src/ directory. |
no test coverage detected