chore: Move commands (#235)
* chore: move genop to internal. * chore: move yaegi command.
This commit is contained in:
committed by
Marc Vertes
parent
c991e09ca6
commit
470960aa93
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,7 +2,7 @@
|
||||
.*.swp
|
||||
*.dot
|
||||
.idea/
|
||||
yaegi
|
||||
/yaegi
|
||||
cmd/goexports/goexports
|
||||
example/inception/inception
|
||||
_test/tmp/
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
package main
|
||||
|
||||
//go:generate go generate github.com/containous/yaegi/interp
|
||||
//go:generate go generate github.com/containous/yaegi/cmd/goexports
|
||||
//go:generate go generate github.com/containous/yaegi/stdlib
|
||||
//go:generate go generate github.com/containous/yaegi/stdlib/syscall
|
||||
//go:generate go generate github.com/containous/yaegi/stdlib/unsafe
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
7
generate.go
Normal file
7
generate.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package yaegi
|
||||
|
||||
//go:generate go generate github.com/containous/yaegi/interp
|
||||
//go:generate go generate github.com/containous/yaegi/cmd/goexports
|
||||
//go:generate go generate github.com/containous/yaegi/stdlib
|
||||
//go:generate go generate github.com/containous/yaegi/stdlib/syscall
|
||||
//go:generate go generate github.com/containous/yaegi/stdlib/unsafe
|
||||
@@ -1,6 +1,6 @@
|
||||
package interp
|
||||
|
||||
//go:generate go run ../cmd/genop/genop.go
|
||||
//go:generate go run ../internal/genop/genop.go
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
Reference in New Issue
Block a user