From 77b0b92582d851f21324c4798070fba7f46e5367 Mon Sep 17 00:00:00 2001 From: Louis Thibault Date: Sun, 4 Aug 2024 23:44:25 -0400 Subject: [PATCH] Fix go install. --- .gitignore | 1 - Makefile | 5 +---- cmd/{ => internal}/export/export.go | 0 cmd/{ => internal}/run/run.go | 0 cmd/{ => ww}/main.go | 4 ++-- examples/hello-world/main.wasm | Bin 1638234 -> 1638233 bytes system/cmd/nop/main.wasm | Bin 2119836 -> 2119836 bytes system/testdata/{ => socket}/testdata | 0 8 files changed, 3 insertions(+), 7 deletions(-) rename cmd/{ => internal}/export/export.go (100%) rename cmd/{ => internal}/run/run.go (100%) rename cmd/{ => ww}/main.go (89%) rename system/testdata/{ => socket}/testdata (100%) diff --git a/.gitignore b/.gitignore index 501d05e..1f8639d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ # Wetware .envrc -ww # Binaries for programs and plugins *.exe diff --git a/Makefile b/Makefile index 296796c..ceca8e4 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,5 @@ generate: publish: generate ipfs add -r . -binary: generate - go build -o ww cmd/main.go - install: - go install github.com/wetware/go/cmd + go install github.com/wetware/go/cmd/ww diff --git a/cmd/export/export.go b/cmd/internal/export/export.go similarity index 100% rename from cmd/export/export.go rename to cmd/internal/export/export.go diff --git a/cmd/run/run.go b/cmd/internal/run/run.go similarity index 100% rename from cmd/run/run.go rename to cmd/internal/run/run.go diff --git a/cmd/main.go b/cmd/ww/main.go similarity index 89% rename from cmd/main.go rename to cmd/ww/main.go index 8a8bc63..91e1d76 100644 --- a/cmd/main.go +++ b/cmd/ww/main.go @@ -10,8 +10,8 @@ import ( "github.com/lmittmann/tint" "github.com/urfave/cli/v2" - "github.com/wetware/go/cmd/export" - "github.com/wetware/go/cmd/run" + "github.com/wetware/go/cmd/internal/export" + "github.com/wetware/go/cmd/internal/run" ) func main() { diff --git a/examples/hello-world/main.wasm b/examples/hello-world/main.wasm index 4c8b2d97b020ebde5290faadd8341492780bffe3..3faf18a24ae2b21857f05c8718ab9838561e5542 100755 GIT binary patch delta 277 zcmcchFZt%bU8BP|JVMfL# zN&1C_DQ3B$Nq#xyK7q~^uI}zp73TUDskx=Wy7Bpeu4RTL9>Epm7M6*PHLW#_tu;)o zHO#FwEUh)Htu<_|HSDc59IZ8+tuzNMcBU=PkhlQUm}*SK1}qyxA44aAH36(9|AxgMw;q5? zxGgUPBd+ch1UXW;<4`0e||LKuP-K)^LBa4w%v6IH72&sI& z)4LWgS39)h*Q!@>v*ooL+|ldJG`_919eI8K=J~0YUa({Y2pNPaglU8sgjs|+gn5Jo zge*c1VG&^oVHsfsVHF{du!gXXuz|3Nu!XSw4TZe8VS+MZg?1>2(c-qSO&SmuMI>T= z5EU)LDY2M+mh*?Q8)jdF{^>yWqH}6cOEZ{e*sfugOtWOrkBKO#JL;~wr|zo<>Y;k{ JGZDwXfB#b;VC?_^ delta 281 zcmWN=$xgyR7y#hl4sN*O?%4x&m{Qvz@jy#ZYV=TX>ushRSTt6uvF5*U_~X?F;3Yg5 zpTK9}IeY`>OTOXPAUBjh4=x=q%FO3Sn)q+_b#`l+^%JI?hfbW@Z7XrZ{(FaKPl;$K zy(+6)F^z>|H9Ic9i*A^$wA_qdTs5Mg)l5!Vlv4Aa4FDmBForOWFo7_MFoiIUFoTds zC?L!t%puGpEFdf*6cLsXmJwDERuR?^*1w@t49_&GQjchYFiwT;RaBwzK;t^|iEc2# zjex2os2TASFeAVb{~RcN@%rAj55*MM6Icnns)Rt3QO{ayeV(V+wzXQEARb` I!u{XBe+Oe>qW}N^ diff --git a/system/testdata/testdata b/system/testdata/socket/testdata similarity index 100% rename from system/testdata/testdata rename to system/testdata/socket/testdata