Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit 9fea1bb

Browse files
committed
chore: remove old pack script
1 parent f0af839 commit 9fea1bb

File tree

2 files changed

+10
-127
lines changed

2 files changed

+10
-127
lines changed

scripts/after_build.lua

Lines changed: 0 additions & 126 deletions
This file was deleted.

xmake.lua

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,13 @@ target("LegacyParticleAPI")
3838
-- else
3939
-- add_includedirs("src-client")
4040
-- add_files("src-client/**.cpp")
41-
-- end
41+
-- end
42+
after_build(function (target)
43+
local bindir = path.join(os.projectdir(), "bin")
44+
local includedir = path.join(bindir, "include")
45+
local libdir = path.join(bindir, "lib")
46+
os.mkdir(includedir)
47+
os.mkdir(libdir)
48+
os.cp(path.join(os.projectdir(), "src", "ParticleAPI.h"), includedir)
49+
os.cp(path.join(target:targetdir(), target:name() .. ".lib"), libdir)
50+
end)

0 commit comments

Comments
 (0)