Replies: 2 comments
-
|
Is |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @BlackAsLight, thank you for your comment.
No, for now I assume that the output path can be determined by the person executing the I also tried the following, but somehow {
"tasks": {
"build": "deno compile -o $(deno eval \"console.log(Deno.args[0])\") ./src/index.ts"
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The following
buildtask is defined indeno.json.I would like to change the output destination depending on the argument of
deno task build <arg>, but I don't know how to do that.{ "tasks": { "build": "deno compile -o ??? ./src/index.ts" } }Note that
deno compiledoes not seem to work with the-oflag at the end, as shown below.{ "tasks": { "build": "deno compile ./src/index.ts -o" } }If you have any good ideas, I would be happy to hear them.
Beta Was this translation helpful? Give feedback.
All reactions