sh
This commit is contained in:
parent
d2f0b0de39
commit
886685e9d9
|
@ -56,7 +56,7 @@ deno compile -A -o poc-cli src/core.ts
|
||||||
|
|
||||||
You can cross-compile, too. See `deno compile --help` for `--target`.
|
You can cross-compile, too. See `deno compile --help` for `--target`.
|
||||||
|
|
||||||
```
|
```sh
|
||||||
deno compile -A -o poc-cli.linux.x86_64 --target x86_64-unknown-linux-gnu src/core.ts
|
deno compile -A -o poc-cli.linux.x86_64 --target x86_64-unknown-linux-gnu src/core.ts
|
||||||
deno compile -A -o poc-cli.darwin.x86_64 --target x86_64-apple-darwin src/core.ts
|
deno compile -A -o poc-cli.darwin.x86_64 --target x86_64-apple-darwin src/core.ts
|
||||||
deno compile -A -o poc-cli.darwin.aarch64 --target aarch64-apple-darwin src/core.ts
|
deno compile -A -o poc-cli.darwin.aarch64 --target aarch64-apple-darwin src/core.ts
|
||||||
|
@ -64,13 +64,13 @@ deno compile -A -o poc-cli.darwin.aarch64 --target aarch64-apple-darwin src/core
|
||||||
|
|
||||||
### Run Without Compiling
|
### Run Without Compiling
|
||||||
|
|
||||||
```
|
```sh
|
||||||
deno run -A src/core.ts
|
deno run -A src/core.ts
|
||||||
```
|
```
|
||||||
|
|
||||||
### Deploy Artifacts
|
### Deploy Artifacts
|
||||||
|
|
||||||
```
|
```sh
|
||||||
rcp ./poc-cli.* faceless:~/../public-static-files/poc-cli/
|
rcp ./poc-cli.* faceless:~/../public-static-files/poc-cli/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ sudo chmod 755 /usr/bin/poc-cli
|
||||||
|
|
||||||
It's self-documenting... sort of!
|
It's self-documenting... sort of!
|
||||||
|
|
||||||
```
|
```sh
|
||||||
poc-cli
|
poc-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue