Skip to content

docs: Fix build command in deployment documentation#2840

Merged
marvinhagemeister merged 1 commit intodenoland:mainfrom
mostlyinvisible:docs-deploy-fix
May 19, 2025
Merged

docs: Fix build command in deployment documentation#2840
marvinhagemeister merged 1 commit intodenoland:mainfrom
mostlyinvisible:docs-deploy-fix

Conversation

@mostlyinvisible
Copy link
Contributor

The Self Contained Executable instructions in the Deployment documentation contains an error in the sample code.

$ deno build
$ deno compile --include static --include _fresh --include deno.json -A main.ts

should be:

$ deno task build
$ deno compile --include static --include _fresh --include deno.json -A main.ts

This PR fixes that.

Copy link
Collaborator

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think both work since deno also supports calling tasks directly that way. That said I kinda like the consistency of deno task <whatever> more.

@marvinhagemeister marvinhagemeister merged commit b6c02b0 into denoland:main May 19, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants