We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 436d507 commit b485f05Copy full SHA for b485f05
images/extension-builders/tinygo/commands.sh
@@ -16,13 +16,18 @@
16
17
extension_build() {
18
tinygo build -o "$1" -scheduler=none -target wasi main.go
19
+ # This is necessary since the created go caches are with read-only permission,
20
+ # and without this, the host user cannot delete the build directory with "rm -rf".
21
+ chmod -R a+rw build/
22
}
23
24
extension_test() {
25
go test -tags=proxytest -v ./...
26
27
28
29
30
31
extension_clean() {
- go clean -modcache
- rm -rf "${GOCACHE}" "${XDG_CACHE_HOME}" || true
32
+ rm -rf build
33
0 commit comments