🔧 chore(repo): refresh local rules and ast defaults
add repository-local agent rules and refresh the architecture notes for the current lsp layering. register the AST self-test in CTest, initialize a few AST defaults, and bump glaze to the newer conan package version. verify: `cmake --build lsp-server/build/clang-linux/Release --target test_ast` verify: `ctest --test-dir lsp-server/build/clang-linux/Release -R test_ast_unit --output-on-failure` passes known issue: `ctest --test-dir lsp-server/build/clang-linux/Release -R test_ast_script --output-on-failure` still fails on `/home/csh/windows_share/tsf/funcext/Common/Tree/TTree.tsf` due to invalid TSF syntax (`FConfig &= v` missing trailing `;`).
This commit is contained in:
@@ -66,6 +66,8 @@ target_compile_options(
|
||||
$<$<CONFIG:Release>:-O3>)
|
||||
|
||||
if(BUILD_TESTS)
|
||||
add_test(NAME test_ast_unit
|
||||
COMMAND $<TARGET_FILE:test_ast> --self-test)
|
||||
add_test(NAME test_ast_script
|
||||
COMMAND ${CMAKE_COMMAND} -E env
|
||||
TEST_AST_OVERRIDE=$<TARGET_FILE:test_ast>
|
||||
|
||||
Reference in New Issue
Block a user