Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ClojureScript compliment source #7

Merged
merged 1 commit into from
Jan 16, 2020
Merged

Conversation

arichiardi
Copy link
Collaborator

@arichiardi arichiardi commented Jan 16, 2020

This patch introduces a ClojureScript defsource for compliment.

It is a port of what was before into cljs-tooling (kind of, as the code has been ported to compliment before that).

The code contains tests that are current passing, with the exception of one -
commented out for future investigation with a TODO.

This PR needs to go in for us to fully take advantage of this:
alexander-yakushev/compliment#71

I have also noticed some of the old tests are not passing.

If you want to execute just compliment tests you can run:

clojure -R:test -C:test -m cognitect.test-runner -d src/test -n suitable.compliment.sources.t-cljs

clojure -R:test -C:test -m cognitect.test-runner -d src/test -n suitable.compliment.sources.t-cljs-js

@arichiardi arichiardi requested a review from rksm January 16, 2020 19:25
@arichiardi arichiardi changed the title Introduce ClojureScript compliment source WIP - Introduce ClojureScript compliment source Jan 16, 2020
@arichiardi arichiardi changed the title WIP - Introduce ClojureScript compliment source Introduce ClojureScript compliment source Jan 16, 2020
This patch introduce a new ClojureScript source for compliment. There are tests
in there that are all passing except one (search for TODO).
@arichiardi arichiardi self-assigned this Jan 16, 2020
@rksm
Copy link
Member

rksm commented Jan 16, 2020

Looks good, thank you!

Also thanks for the heads up regarding the tests. Seems to be a timing issue with nashorn, once the cache is there or when run in debug mode it works. Will investigate.

Copy link
Member

@rksm rksm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arichiardi arichiardi merged commit a9ee227 into master Jan 16, 2020
@arichiardi arichiardi deleted the compliment-cljs branch January 16, 2020 23:08
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.

2 participants