From ae16bc27e59ba49a68955f47e68699b153aae754 Mon Sep 17 00:00:00 2001 From: Sydonian <794346190@qq.com> Date: Tue, 1 Aug 2023 10:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BC=96=E8=AF=91=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magefiles/magefile.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/magefiles/magefile.go b/magefiles/magefile.go index 43f4e18..0f4ec2e 100644 --- a/magefiles/magefile.go +++ b/magefiles/magefile.go @@ -4,19 +4,17 @@ package main import ( "magefiles" - "magefiles/utils" //mage:import - "magefiles/targets" + _ "magefiles/targets" ) var Default = Build func Build() error { - return utils.Build(magefiles.BuildArgs{ - OutputBinName: "scanner", - OutputDirPath: "scanner", - AssetsDir: "assets", - PubArgs: targets.PubGoBuildArgs, + return magefiles.Build(magefiles.BuildArgs{ + OutputName: "scanner", + OutputDir: "../../build/scanner", + AssetsDir: "assets", }) }