summaryrefslogtreecommitdiff
path: root/docs/tools/compiler.md
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-07-20 16:25:36 +0200
committerGitHub <noreply@github.com>2021-07-20 16:25:36 +0200
commitd744c0c6d9a557bbaa2a23571ffb3acabf19c35a (patch)
tree6f7fb8a71b786e79c48f4b2c11a5a9ca988717e8 /docs/tools/compiler.md
parent9b9becf1ae256b645e37a7eecf3441f3ae4b8ea5 (diff)
chore: move docs to separate repository
Diffstat (limited to 'docs/tools/compiler.md')
-rw-r--r--docs/tools/compiler.md36
1 files changed, 0 insertions, 36 deletions
diff --git a/docs/tools/compiler.md b/docs/tools/compiler.md
deleted file mode 100644
index 5b3dfd5ec..000000000
--- a/docs/tools/compiler.md
+++ /dev/null
@@ -1,36 +0,0 @@
-## Compiling Executables
-
-`deno compile [--output <OUT>] <SRC>` will compile the script into a
-self-contained executable.
-
-```
-> deno compile https://deno.land/std/examples/welcome.ts
-```
-
-If you omit the `OUT` parameter, the name of the executable file will be
-inferred.
-
-### Flags
-
-As with [`deno install`](./script_installer.md), the runtime flags used to
-execute the script must be specified at compilation time. This includes
-permission flags.
-
-```
-> 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 --allow-read --allow-net https://deno.land/std/http/file_server.ts -p 8080
-> ./file_server --help
-```
-
-### Cross Compilation
-
-You can compile binaries for other platforms by adding the `--target` CLI flag.
-Deno currently supports compiling to Windows x64, macOS x64, macOS ARM and Linux
-x64. Use `deno compile --help` to list the full values for each compilation
-target.