From 19ccefa46d9c62c30fa8b35a52ba53c4ac512ce2 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 13 Jan 2025 10:41:11 +0800 Subject: [PATCH] move xmake sample to filenames --- lib/linguist/languages.yml | 2 -- samples/Xmake/xmake.lua | 20 -------------------- 2 files changed, 22 deletions(-) delete mode 100644 samples/Xmake/xmake.lua diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 6d32dc675..a73b2f21f 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -8787,8 +8787,6 @@ wisp: Xmake: type: programming color: "#22a079" - extensions: - - ".lua" filenames: - xmake.lua tm_scope: source.xmake diff --git a/samples/Xmake/xmake.lua b/samples/Xmake/xmake.lua deleted file mode 100644 index cf6882d09..000000000 --- a/samples/Xmake/xmake.lua +++ /dev/null @@ -1,20 +0,0 @@ -set_project("sample") -set_version("1.0.0") - -add_rules("mode.debug", "mode.release") - -option("test", {default = false, description = "the test option"}) - -add_requires("zlib", {system = false}) - -target("test") - set_kind("binary") - add_files("src/*.c") - add_packages("zlib") - if is_plat("windows") then - add_defines("WIN32") - end - if has_config("test") then - add_defines("TEST") - end -