Skip to content

Commit

Permalink
build using the standard Go toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
joeshaw committed Aug 16, 2023
1 parent bac69b9 commit 61cb6a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This starter is intentionally lightweight, and requires no dependencies aside fr

The starter doesn't require the use of any backends. Once deployed, you will have a Fastly service running on Compute@Edge that can generate synthetic responses at the edge.

It is recommended to use the [Fastly CLI](https://github.com/fastly/cli) for this template. The template uses the `fastly.toml` scripts, to allow for building the project using your installed Go or TinyGo compiler. The Fastly CLI should also be used for serving and testing your build output, as well as deploying your finalized package!
It is recommended to use the [Fastly CLI](https://github.com/fastly/cli) for this template. The template uses the `fastly.toml` scripts, to allow for building the project using your installed Go compiler. The Fastly CLI should also be used for serving and testing your build output, as well as deploying your finalized package!

## Security issues

Expand Down
3 changes: 3 additions & 0 deletions fastly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ description = "A basic starter kit that demonstrates routing, simple synthetic r
language = "go"
manifest_version = 3
name = "Default starter for Go"

[scripts]
build = "GOARCH=wasm GOOS=wasip1 go build -o bin/main.wasm ."

0 comments on commit 61cb6a4

Please sign in to comment.