Skip to content

Commit

Permalink
chore: reorganize repo
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Sep 16, 2024
1 parent 50a6353 commit d5d6293
Show file tree
Hide file tree
Showing 207 changed files with 8,682 additions and 223 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@v5
with:
go-version-file: 'go/go.mod'
go-version-file: 'go.mod'
- uses: cargo-bins/[email protected]
- run: rustup show
#- run: cargo test --workspace --all-targets
- run: cargo binstall -y [email protected]
- run: go generate ./go/...
- run: go test ./go/...
- run: go generate ./...
- run: go test ./...
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: west-${{ matrix.config.target }}
Expand Down
268 changes: 134 additions & 134 deletions go/bindings/bindings.go → bindings/bindings.go

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go/bindings/west.go → bindings/west.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
package bindings

import (
_ "github.com/rvolosatovs/west/go/bindings/west/test/http-test"
_ "github.com/rvolosatovs/west/bindings/west/test/http-test"
)
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ func generate(path string) error {
},
{
Name: &ast.Ident{Name: "west"},
Path: &ast.BasicLit{Kind: token.STRING, Value: `"github.com/rvolosatovs/west/go"`},
Path: &ast.BasicLit{Kind: token.STRING, Value: `"github.com/rvolosatovs/west"`},
},
}
for path, name := range goImports {
Expand Down
10 changes: 6 additions & 4 deletions go/go.mod → go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
module github.com/rvolosatovs/west/go
module github.com/rvolosatovs/west

go 1.23.0

require golang.org/x/tools v0.24.0
require (
github.com/stretchr/testify v1.9.0
github.com/ydnar/wasm-tools-go v0.1.5
golang.org/x/tools v0.24.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
github.com/ydnar/wasm-tools-go v0.1.5 // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/sync v0.8.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
1 change: 1 addition & 0 deletions go/go.sum → go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24=
golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=
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=
4 changes: 2 additions & 2 deletions go.work
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
go 1.23.0

use ./go
use ./.

replace github.com/rvolosatovs/west/go v0.0.1 => ./go
replace github.com/rvolosatovs/west v0.0.1 => ./.
1 change: 1 addition & 0 deletions go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t
golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg=
golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457/go.mod h1:pRgIJT+bRLFKnoM1ldnzKoxTIn14Yxz928LQRYYgIN0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
8 changes: 0 additions & 8 deletions go/internal/tests/sync/sync.go

This file was deleted.

3 changes: 0 additions & 3 deletions go/west_darwin_amd64.go

This file was deleted.

3 changes: 0 additions & 3 deletions go/west_darwin_arm64.go

This file was deleted.

3 changes: 0 additions & 3 deletions go/west_linux_amd64.go

This file was deleted.

3 changes: 0 additions & 3 deletions go/west_linux_arm64.go

This file was deleted.

3 changes: 0 additions & 3 deletions go/west_windows_amd64.go

This file was deleted.

File renamed without changes.
4 changes: 4 additions & 0 deletions tests/go/sync/bindings/west-test/sync/guest/guest.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d5d6293

Please sign in to comment.