Skip to content

Commit

Permalink
chore: remove old pack script
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Dec 31, 2024
1 parent 677bd20 commit 8ea56f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 126 deletions.
125 changes: 0 additions & 125 deletions scripts/after_build.lua

This file was deleted.

11 changes: 10 additions & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,13 @@ target("LegacyRemoteCall")
-- else
-- add_includedirs("src-client")
-- add_files("src-client/**.cpp")
-- end
-- end
after_build(function (target)
local bindir = path.join(os.projectdir(), "bin")
local includedir = path.join(bindir, "include")
local libdir = path.join(bindir, "lib")
os.mkdir(includedir)
os.mkdir(libdir)
os.cp(path.join(os.projectdir(), "src", "RemoteCallAPI.h"), includedir)
os.cp(path.join(target:targetdir(), target:name() .. ".lib"), libdir)
end)

0 comments on commit 8ea56f8

Please sign in to comment.