Skip to content

Commit

Permalink
Merge pull request #4 from ignite/feat/add-gex
Browse files Browse the repository at this point in the history
feat: add gex binaries
  • Loading branch information
jeronimoalbi authored Sep 7, 2023
2 parents 6379f4a + 1d5ced2 commit 380ddc0
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 16 deletions.
6 changes: 6 additions & 0 deletions gex/data.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package gex

// Binary returns the compressed platform specific Hermes binary.
func Binary() []byte {
return binaryCompressed
}
6 changes: 6 additions & 0 deletions gex/data_darwin_amd64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package gex

import _ "embed" // embed is required for binary embedding.

//go:embed gex-v1.3.0-amd64-darwin.tar.gz
var binaryCompressed []byte
6 changes: 6 additions & 0 deletions gex/data_darwin_arm64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package gex

import _ "embed" // embed is required for binary embedding.

//go:embed gex-v1.3.0-arm64-darwin.tar.gz
var binaryCompressed []byte
6 changes: 6 additions & 0 deletions gex/data_linux_amd64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package gex

import _ "embed" // embed is required for binary embedding.

//go:embed gex-v1.3.0-amd64-linux.tar.gz
var binaryCompressed []byte
6 changes: 6 additions & 0 deletions gex/data_linux_arm64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package gex

import _ "embed" // embed is required for binary embedding.

//go:embed gex-v1.3.0-arm64-linux.tar.gz
var binaryCompressed []byte
Binary file added gex/gex-v1.3.0-amd64-darwin.tar.gz
Binary file not shown.
Binary file added gex/gex-v1.3.0-amd64-linux.tar.gz
Binary file not shown.
Binary file added gex/gex-v1.3.0-arm64-darwin.tar.gz
Binary file not shown.
Binary file added gex/gex-v1.3.0-arm64-linux.tar.gz
Binary file not shown.
3 changes: 3 additions & 0 deletions gex/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/ignite/ignite-files/gex

go 1.21.0
16 changes: 0 additions & 16 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,16 +0,0 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gorilla/rpc v1.2.0 h1:WvvdC2lNeT1SP32zrIce5l0ECBfbAlmrmSBsuc57wfk=
github.com/gorilla/rpc v1.2.0/go.mod h1:V4h9r+4sF5HnzqbwIez0fKSpANP0zlYd3qR7p36jkTQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/radovskyb/watcher v1.0.7 h1:AYePLih6dpmS32vlHfhCeli8127LzkIgwJGcwwe8tUE=
github.com/radovskyb/watcher v1.0.7/go.mod h1:78okwvY5wPdzcb1UYnip1pvrZNIVEIh/Cm+ZuvsUYIg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E=
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
3 changes: 3 additions & 0 deletions go.work
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
go 1.21.0

use ./gex

0 comments on commit 380ddc0

Please sign in to comment.