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
|
.*.swp
|
||||||
*.dot
|
*.dot
|
||||||
.idea/
|
.idea/
|
||||||
yaegi
|
/yaegi
|
||||||
cmd/goexports/goexports
|
cmd/goexports/goexports
|
||||||
example/inception/inception
|
example/inception/inception
|
||||||
_test/tmp/
|
_test/tmp/
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
package main
|
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 (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"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
|
package interp
|
||||||
|
|
||||||
//go:generate go run ../cmd/genop/genop.go
|
//go:generate go run ../internal/genop/genop.go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|||||||
Reference in New Issue
Block a user