Skip to content

Commit

Permalink
fix xmake.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Nov 29, 2023
1 parent 5e7eeee commit f96bde6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion core/src/demo/xmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ target "demo"

# add install files
add_installfiles "${projectdir}/(xmake/**.lua)" "share"
add_installfiles "${projectdir}/(xmake/scripts/**)" "share"
add_installfiles "${projectdir}/(xmake/scripts/*)" "share"
add_installfiles "${projectdir}/(xmake/scripts/cmake_importfiles/**)" "share"
add_installfiles "${projectdir}/(xmake/scripts/completions/**)" "share"
add_installfiles "${projectdir}/(xmake/scripts/xpack/**)" "share"
add_installfiles "${projectdir}/(xmake/scripts/xrepo/**)" "share"
add_installfiles "${projectdir}/(xmake/scripts/virtualenvs/**)" "share"
add_installfiles "${projectdir}/(xmake/scripts/pac/**)" "share"
add_installfiles "${projectdir}/(xmake/scripts/conan/**)" "share"
add_installfiles "${projectdir}/(xmake/templates/**)" "share"
add_installfiles "${projectdir}/scripts/xrepo.sh" "bin" "xrepo"

Expand Down
2 changes: 1 addition & 1 deletion core/xpack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ xpack("xmakesrc")

local extraconf = {rootdir = rootdir}
package:add("sourcefiles", path.join(rootdir, "core/**|src/pdcurses/**|src/luajit/**|src/tbox/tbox/src/demo/**"), extraconf)
package:add("sourcefiles", path.join(rootdir, "xmake/**"), extraconf)
package:add("sourcefiles", path.join(rootdir, "xmake/**|scripts/vsxmake/**"), extraconf)
package:add("sourcefiles", path.join(rootdir, "*.md"), extraconf)
package:add("sourcefiles", path.join(rootdir, "configure"), extraconf)
package:add("sourcefiles", path.join(rootdir, "scripts/*.sh"), extraconf)
Expand Down

0 comments on commit f96bde6

Please sign in to comment.