mirror of
https://github.com/denoland/deno.git
synced 2025-02-08 15:21:26 -05:00
11 lines
307 B
TypeScript
11 lines
307 B
TypeScript
![]() |
// for setup, we create two directories with the same file in each
|
||
|
// and then when compiling we ensure this directory name has no
|
||
|
// effect on the output
|
||
|
makeCopyDir("a");
|
||
|
makeCopyDir("b");
|
||
|
|
||
|
function makeCopyDir(dirName) {
|
||
|
Deno.mkdirSync(dirName);
|
||
|
Deno.copyFileSync("main.ts", `${dirName}/main.ts`);
|
||
|
}
|