c6af9e284a
Tests / catch-all (windows-latest) (push) Has been cancelled
Tests / jvm (macos-latest) (push) Has been cancelled
Tests / jvm (ubuntu-latest) (push) Has been cancelled
Tests / jvm (windows-latest) (push) Has been cancelled
Tests / native (macos-latest) (push) Has been cancelled
Tests / native (ubuntu-latest) (push) Has been cancelled
Tests / native (windows-latest) (push) Has been cancelled
Tests / niche (ubuntu-latest) (push) Has been cancelled
Tests / other-langs (macos-latest) (push) Has been cancelled
Tests / other-langs (ubuntu-latest) (push) Has been cancelled
Tests / other-langs (windows-latest) (push) Has been cancelled
Tests / catch-all (macos-latest) (push) Has been cancelled
Tests / catch-all (ubuntu-latest) (push) Has been cancelled
Docs Build / build (push) Has been cancelled
Docs Build / deploy (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Codespell / Check for spelling errors (push) Has been cancelled
Build and Push Docker Images / build-and-push (push) Has been cancelled
22 lines
485 B
Python
22 lines
485 B
Python
from pathlib import Path
|
|
|
|
from solidlsp.language_servers.clojure_lsp import verify_clojure_cli
|
|
|
|
|
|
def _test_clojure_cli() -> bool:
|
|
try:
|
|
verify_clojure_cli()
|
|
return False
|
|
except (FileNotFoundError, RuntimeError):
|
|
return True
|
|
|
|
|
|
CLI_FAIL = _test_clojure_cli()
|
|
TEST_APP_PATH = Path("src") / "test_app"
|
|
CORE_PATH = str(TEST_APP_PATH / "core.clj")
|
|
UTILS_PATH = str(TEST_APP_PATH / "utils.clj")
|
|
|
|
|
|
def is_clojure_cli_available() -> bool:
|
|
return not CLI_FAIL
|