Skip to content

Commit

Permalink
Merge pull request #5656 from xmake-io/cli
Browse files Browse the repository at this point in the history
rename demo to cli
  • Loading branch information
waruqi committed Sep 25, 2024
2 parents 583f8e6 + c2294cf commit dc097d1
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion core/src/demo/xmake.lua → core/src/cli/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target("demo")
target("cli")

-- disable this target if only build libaries
if has_config("onlylib") then
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion core/src/demo/xmake.sh → core/src/cli/xmake.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

target "demo"
target "cli"
add_deps "xmake"
set_kind "binary"
set_basename "xmake"
Expand Down
2 changes: 1 addition & 1 deletion core/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ if is_plat("windows") then
end

-- add projects
includes("src/sv", "src/lz4", "src/tbox", "src/xmake", "src/demo")
includes("src/sv", "src/lz4", "src/tbox", "src/xmake", "src/cli")
if has_config("lua_cjson") then
includes("src/lua-cjson")
end
Expand Down
2 changes: 1 addition & 1 deletion core/xmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,4 @@ if ! has_config "external"; then
includes "src/tbox"
fi
includes "src/xmake"
includes "src/demo"
includes "src/cli"
4 changes: 2 additions & 2 deletions core/xpack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ xpack("xmake")
set_author("ruki <[email protected]>")
set_licensefile("../LICENSE.md")
set_formats("nsis", "wix", "zip")
add_targets("demo")
add_targets("cli")
set_bindir(".")
set_iconfile("src/demo/xmake.ico")
set_iconfile("src/cli/xmake.ico")

add_components("LongPath")

Expand Down
2 changes: 1 addition & 1 deletion scripts/rpmbuild/0001-use-static-libsv-and-tbox.patch
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ index 2ae2e686b..6ea8c1b69 100755
+ includes "src/tbox"
fi
includes "src/xmake"
includes "src/demo"
includes "src/cli"

0 comments on commit dc097d1

Please sign in to comment.