Skip to content

feat(clr): add ClojureCLR support - #70

Merged
robertluo merged 2 commits into
robertluo:masterfrom
flybot-sg:clr-support
Jul 7, 2026
Merged

feat(clr): add ClojureCLR support#70
robertluo merged 2 commits into
robertluo:masterfrom
flybot-sg:clr-support

Conversation

@skydread1

@skydread1 skydread1 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Closes #69

  • Add :cljr branches for host interop (System.IDisposable/.Dispose, System.* types).
  • Add deps-clr.edn (dmiller/test-runner) and a clr-test task in build.clj, so clojure -T:build ci runs the CLR suite alongside clj and cljs.

skydread1 and others added 2 commits July 6, 2026 15:04
Convert sources and tests to .cljc with :cljr reader conditionals so the
library compiles and runs on ClojureCLR, alongside the existing JVM and
ClojureScript targets. Host-interop only (IDisposable over Closeable,
namespace-qualified interface methods, System.* types); public API
unchanged.

Co-authored-by: 洪 恒 <hongheng@users.noreply.github.com>
Add deps-clr.edn (the cljr-preferred deps file) with a test alias on
dmiller/test-runner, wire a clr-test step into build.clj so
clojure -T:build ci runs the CLR suite alongside clj and cljs, and
install ClojureCLR in the workflow.
@robertluo

Copy link
Copy Markdown
Owner

Very good! Thanks.

@robertluo
robertluo merged commit f704e3c into robertluo:master Jul 7, 2026
1 check passed
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.41935% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.47%. Comparing base (f2f2d8f) to head (e6614b9).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
src/robertluo/fun_map/core.cljc 71.42% 3 Missing and 1 partial ⚠️
src/robertluo/fun_map/wrapper.cljc 85.71% 2 Missing ⚠️
src/robertluo/fun_map.cljc 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
- Coverage   75.82%   75.47%   -0.36%     
==========================================
  Files           5        5              
  Lines         211      261      +50     
  Branches       14       14              
==========================================
+ Hits          160      197      +37     
- Misses         37       50      +13     
  Partials       14       14              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@robertluo
robertluo deleted the clr-support branch July 7, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fun-map does not run on ClojureCLR

2 participants