refactor: 整理结构和 maker 构建方式
This commit is contained in:
@@ -6,14 +6,13 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
"gitea.loveuer.com/yizhisec/pkg3/logger"
|
||||
"yizhisec.com/hsv2/forge/internal/opt"
|
||||
"yizhisec.com/hsv2/forge/pkg/resource"
|
||||
)
|
||||
|
||||
func (m *maker) LessDNS(ctx context.Context) error {
|
||||
var (
|
||||
err error
|
||||
location = filepath.Join(opt.Cfg.Make.Dir, "dependency", "less-dns")
|
||||
location = filepath.Join(m.workdir, "dependency", "less-dns")
|
||||
)
|
||||
|
||||
logger.Info("☑️ maker.LessDNS: 开始构建 less-dns...")
|
||||
|
||||
Reference in New Issue
Block a user