leaf
leaf copied to clipboard
Use the current running deno and not `which deno`
I want to compile using the current running Deno.
I have a stripped deno which I want to run when doing the Leaf.compile step.
await runCmd(`cp /usr/local/bin/deno ${tempDir}/bin`);
await runCmd(`ls -l ${tempDir}/bin/deno`);
await runCmd(`chmod u+w ${tempDir}/bin/deno`);
await runCmd(`strip ${tempDir}/bin/deno`);
await runCmd(`ls -l ${tempDir}/bin/deno`);