diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-04-27 12:44:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 12:44:36 +0200 |
commit | baf7092ea2ac97bee93213ddf639bb9b41f0888e (patch) | |
tree | a89f9794f4e1fcb0cd8eae9d1e8058d90668a8f4 /docs/tools/compiler.md | |
parent | 83770e898e365579dcc30650f706116a312bd9f6 (diff) |
remove --unstable flag from CLI features (#10190)
Diffstat (limited to 'docs/tools/compiler.md')
-rw-r--r-- | docs/tools/compiler.md | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/docs/tools/compiler.md b/docs/tools/compiler.md index 7d47aecfb..3c82894c4 100644 --- a/docs/tools/compiler.md +++ b/docs/tools/compiler.md @@ -1,13 +1,10 @@ ## Compiling Executables -> Since the compile functionality is relatively new, the `--unstable` flag has -> to be set in order for the command to work. - `deno compile [--output <OUT>] <SRC>` will compile the script into a self-contained executable. ``` -> deno compile --unstable https://deno.land/std/examples/welcome.ts +> deno compile https://deno.land/std/examples/welcome.ts ``` If you omit the `OUT` parameter, the name of the executable file will be @@ -20,14 +17,14 @@ execute the script must be specified at compilation time. This includes permission flags. ``` -> deno compile --unstable --allow-read --allow-net https://deno.land/std/http/file_server.ts +> deno compile --allow-read --allow-net https://deno.land/std/http/file_server.ts ``` [Script arguments](../getting_started/command_line_interface.md#script-arguments) can be partially embedded. ``` -> deno compile --unstable --allow-read --allow-net https://deno.land/std/http/file_server.ts -p 8080 +> deno compile --allow-read --allow-net https://deno.land/std/http/file_server.ts -p 8080 > ./file_server --help ``` |