Skip to content

Commit e4cb2c5

Browse files
authored
Merge pull request #1935 from adamreese/fix/build-examples
fix(sdk/go): fix TinyGo example paths in Makefile
2 parents 42e8ef4 + b5a6c08 commit e4cb2c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sdk/go/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ EXAMPLES_DIR = ../../examples
2222
.PHONY: build-examples
2323
build-examples: generate
2424
build-examples: $(EXAMPLES_DIR)/config-tinygo/main.wasm
25-
build-examples: $(EXAMPLES_DIR)/http-tinygo-outbound-http/main.wasm
25+
build-examples: $(EXAMPLES_DIR)/http-tinygo-outbound-http/outbound-http-to-same-app/main.wasm
26+
build-examples: $(EXAMPLES_DIR)/http-tinygo-outbound-http/tinygo-hello/main.wasm
2627
build-examples: $(EXAMPLES_DIR)/http-tinygo/main.wasm
2728
build-examples: $(EXAMPLES_DIR)/tinygo-outbound-redis/main.wasm
2829
build-examples: $(EXAMPLES_DIR)/tinygo-redis/main.wasm
2930
build-examples: $(EXAMPLES_DIR)/tinygo-key-value/main.wasm
3031
build-examples: $(EXAMPLES_DIR)/tinygo-sqlite/main.wasm
3132
build-examples: $(EXAMPLES_DIR)/tinygo-llm/main.wasm
32-
build-examples: $(EXAMPLES_DIR)/tinygo-mysql/main.wasm
33+
build-examples: $(EXAMPLES_DIR)/tinygo-outbound-mysql/main.wasm
3334

3435
$(EXAMPLES_DIR)/%/main.wasm: $(EXAMPLES_DIR)/%/main.go
3536
tinygo build -target=wasi -gc=leaking -no-debug -o $@ $<
@@ -45,7 +46,7 @@ GENERATED_SPIN_REDIS = redis/spin-redis.c redis/spin-redis.h
4546
GENERATED_KEY_VALUE = key_value/key-value.c key_value/key-value.h
4647
GENERATED_SQLITE = sqlite/sqlite.c sqlite/sqlite.h
4748
GENERATED_LLM = llm/llm.c llm/llm.h
48-
GENERATED_OUTBOUND_MYSQL = mysql/outbound-mysql.c mysql/outbound-mysql.h
49+
GENERATED_OUTBOUND_MYSQL = mysql/outbound-mysql.c mysql/outbound-mysql.h
4950

5051
SDK_VERSION_SOURCE_FILE = sdk_version/sdk-version-go-template.c
5152

0 commit comments

Comments
 (0)