Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating go mod with new location #62

Merged
merged 8 commits into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Reverting a bit
  • Loading branch information
madflojo committed Oct 1, 2023
commit 2f8ba1119f65153a86792f4678200813bf758fc4
2 changes: 1 addition & 1 deletion example/echo/go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@

build:
mkdir -p functions
docker run -v `pwd`/:/build -w /build tinygo/tinygo:latest tinygo build -o /build/functions/tarmac.wasm -target wasi /build/main.go
docker run -v `pwd`/:/build -w /build tinygo/tinygo:0.25.0 tinygo build -o /build/functions/tarmac.wasm -target wasi /build/main.go

docker-compose:
docker compose up
Expand Down
2 changes: 1 addition & 1 deletion example/echo/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
module github.com/tarmac-project/tarmac/example/echo/go

go 1.21.1
go 1.21

require github.com/tarmac-project/tarmac/pkg/sdk v0.5.0

Expand Down
2 changes: 1 addition & 1 deletion example/tac/go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@

build:
mkdir -p functions
docker run -v `pwd`/:/build -w /build tinygo/tinygo:latest tinygo build -o /build/functions/tarmac.wasm -target wasi /build/main.go
docker run -v `pwd`/:/build -w /build tinygo/tinygo:0.25.0 tinygo build -o /build/functions/tarmac.wasm -target wasi /build/main.go

docker-compose:
docker compose up
Expand Down
2 changes: 1 addition & 1 deletion example/tac/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
module github.com/tarmac-project/tarmac/example/tac/go

go 1.21.1
go 1.21

require github.com/tarmac-project/tarmac/pkg/sdk v0.5.0

Expand Down
2 changes: 1 addition & 1 deletion example/toolkit/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
module github.com/tarmac-project/tarmac/example/toolkit

go 1.21.1
go 1.21

require (
github.com/sirupsen/logrus v1.9.3
Expand Down
2 changes: 1 addition & 1 deletion testdata/function/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@

build:
## Run TinyGo build via Docker because its easier
docker run -v `pwd`/:/build -w /build tinygo/tinygo:latest tinygo build -o /build/tarmac.wasm -target wasi /build/main.go
docker run -v `pwd`/:/build -w /build tinygo/tinygo:0.25.0 tinygo build -o /build/tarmac.wasm -target wasi /build/main.go

docker-compose:
docker compose up
Expand Down
2 changes: 1 addition & 1 deletion testdata/function/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
module github.com/tarmac-project/tarmac/testdata/function

go 1.21.1
go 1.21

require github.com/tarmac-project/tarmac/pkg/sdk v0.5.0

Expand Down
2 changes: 1 addition & 1 deletion testdata/kv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@

build:
## Run TinyGo build via Docker because its easier
docker run -v `pwd`/:/build -w /build tinygo/tinygo:latest tinygo build -o /build/tarmac.wasm -target wasi /build/main.go
docker run -v `pwd`/:/build -w /build tinygo/tinygo:0.25.0 tinygo build -o /build/tarmac.wasm -target wasi /build/main.go

docker-compose:
docker compose up
Expand Down
2 changes: 1 addition & 1 deletion testdata/kv/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
module github.com/tarmac-project/tarmac/testdata/kv

go 1.21.1
go 1.21

require github.com/tarmac-project/tarmac/pkg/sdk v0.5.0

Expand Down
2 changes: 1 addition & 1 deletion testdata/logger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@

build:
## Run TinyGo build via Docker because its easier
docker run -v `pwd`/:/build -w /build tinygo/tinygo:latest tinygo build -o /build/tarmac.wasm -target wasi /build/main.go
docker run -v `pwd`/:/build -w /build tinygo/tinygo:0.25.0 tinygo build -o /build/tarmac.wasm -target wasi /build/main.go

docker-compose:
docker compose up
Expand Down
2 changes: 1 addition & 1 deletion testdata/sql/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@

build:
## Run TinyGo build via Docker because its easier
docker run -v `pwd`/:/build -w /build tinygo/tinygo:latest tinygo build -o /build/tarmac.wasm -target wasi /build/main.go
docker run -v `pwd`/:/build -w /build tinygo/tinygo:0.25.0 tinygo build -o /build/tarmac.wasm -target wasi /build/main.go

docker-compose:
docker compose up
Expand Down