Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteiimis committed Dec 27, 2024
1 parent 995eb7c commit 7cff6cc
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/c/clay/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ package("clay")
on_test(function (package)
assert(package:has_cxxincludes("clay.h", {configs = {languages = "c++20"}}))
if package:config("renderer") then
assert(package:check_cxxsnippets({test = [[
#define CLAY_IMPLEMENTATION
#include "clay.h"
#include "renderers/raylib/clay_renderer_raylib.c"
void test() {
BeginDrawing();
EndDrawing();
}
]]}, {configs = {languages = "c++20"}}))
assert(os.isfile(package:installdir("include", "renderers", "raylib", "clay_renderer_raylib.c")))
end
end)
end)

0 comments on commit 7cff6cc

Please sign in to comment.