mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 06:44:45 -05:00
4cfa34052d
I ended up changing the file system implementation to determine its root directory as the last step of building it instead of being the first step which makes it much more reliable.
24 lines
531 B
Text
24 lines
531 B
Text
{
|
|
"tempDir": true,
|
|
// use this so the vfs output is all in the same folder
|
|
"canonicalizedTempDir": true,
|
|
"steps": [{
|
|
"if": "unix",
|
|
"args": "compile -A --output main main.ts",
|
|
"output": "compile.out"
|
|
}, {
|
|
"if": "unix",
|
|
"commandName": "./main",
|
|
"args": [],
|
|
"output": "main.out"
|
|
}, {
|
|
"if": "windows",
|
|
"args": "compile -A --output main.exe main.ts",
|
|
"output": "compile.out"
|
|
}, {
|
|
"if": "windows",
|
|
"commandName": "./main.exe",
|
|
"args": [],
|
|
"output": "main.out"
|
|
}]
|
|
}
|