remove dep of goplus/gop

This commit is contained in:
xushiwei
2024-04-22 21:16:43 +08:00
parent f1e676a14f
commit 2d8f5dbc51
6 changed files with 126 additions and 12 deletions

View File

@@ -18,10 +18,18 @@ package llgo
import (
"github.com/goplus/llgo/x/gocmd"
"github.com/goplus/mod/gopmod"
)
// -----------------------------------------------------------------------------
// NotFound returns if cause err is ErrNotFound or not
func NotFound(err error) bool {
return gopmod.IsNotFound(err)
}
// -----------------------------------------------------------------------------
func BuildDir(dir string, conf *Config, build *gocmd.BuildConfig) (err error) {
panic("todo")
}