Skip to content

Commit 85397f1

Browse files
authored
Merge pull request #1 from rockwotj/rockwood/updates
Package all tinygo commands CS ran into some issue with the built version of tinygo that was used, so to aid debugging it's useful to package the full tinygo installation and all the commands. This removes the custom main that we were providing and instead just adds some help text for rpk after build. Additionally, always make sure to package binaryen on macos (this is needed for a hermetic toolchain)
2 parents 56f613f + d1b15b8 commit 85397f1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ else ifeq ($(shell uname -s),Darwin)
134134

135135
CGO_LDFLAGS += -lxar
136136

137-
USE_SYSTEM_BINARYEN ?= 1
137+
# USE_SYSTEM_BINARYEN ?= 1
138138

139139
else ifeq ($(shell uname -s),FreeBSD)
140140
MD5SUM = md5

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1720,6 +1720,9 @@ func upstreamMain() {
17201720

17211721
err := Build(pkgName, outpath, options)
17221722
handleCompilerError(err)
1723+
fmt.Println("build successful")
1724+
fmt.Println("deploy your transform to a topic:")
1725+
fmt.Println("\trpk transform deploy")
17231726
case "build-library":
17241727
// Note: this command is only meant to be used while making a release!
17251728
if outpath == "" {

0 commit comments

Comments
 (0)