summaryrefslogtreecommitdiff
path: root/xmake/tools/go.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-15 20:45:27 +0800
committerruki <[email protected]>2017-02-15 20:45:27 +0800
commitb98e6978cd6514169c7f0fea4ab6ba63a093754c (patch)
tree087de92610444ebe2eb2153219974c563924a192 /xmake/tools/go.lua
parentdfce526796ade25d4da69c2542929e9c4662402a (diff)
modify targetfile
Diffstat (limited to 'xmake/tools/go.lua')
-rwxr-xr-xxmake/tools/go.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/xmake/tools/go.lua b/xmake/tools/go.lua
index 154676e89..da777bdd9 100755
--- a/xmake/tools/go.lua
+++ b/xmake/tools/go.lua
@@ -86,16 +86,6 @@ function archivecmd(objectfiles, targetfile, flags)
return format("%s tool pack %s %s %s", _g.shellname, flags, targetfile, objectfiles)
end
--- archive the library file
-function archive(objectfiles, targetfile, flags)
-
- -- ensure the target directory
- os.mkdir(path.directory(targetfile))
-
- -- link it
- os.run(archivecmd(objectfiles, targetfile, flags))
-end
-
-- link the target file
function link(objectfiles, targetfile, flags)