cljs-dev

ClojureScript compiler & std lib dev, https://clojurescript.org/community/dev
plexus 2020-09-12T09:56:04.088400Z

what's people's workflow for running tests locally? I'm a little lost between all the script/test* scripts...

plexus 2020-09-12T09:56:58.089200Z

which js runtimes is it recommended to test against? should I install JSC? V8? ...

plexus 2020-09-12T11:35:30.089400Z

to answer my own question: https://gist.github.com/plexus/345077c49cf8c1b56f3a209e63ed5b2b

plexus 2020-09-12T11:35:32.089600Z

šŸ¦œ 1
plexus 2020-09-12T11:35:46.090200Z

@dnolen would it make sense to have a doc like that in the repo? or somewhere else?

plexus 2020-09-12T12:06:17.091Z

I guess we really no longer care about Nashorn? seems like several tests fail outright on nashorn

lread 2020-09-12T12:21:55.091900Z

@plexus, there is this guide but I think it is now a bit out of date https://clojurescript.org/community/running-tests

plexus 2020-09-12T12:24:25.092400Z

ah that's great, I guess I can merge my notes into there. I think we should also delete devnotest/testing or point it at that guide

plexus 2020-09-12T12:26:49.092900Z

script/test-compile also seems vestigial or at least not doing much

lread 2020-09-12T12:29:42.094Z

the last time I looked at this guide I found it interesting to compare with what CI was doing https://github.com/clojure/clojurescript/blob/master/.travis.yml

lread 2020-09-12T12:31:43.095700Z

Oh, I see thereā€™s also some GitHub Actions running too now https://github.com/clojure/clojurescript/blob/master/.github/workflows/test.yaml

plexus 2020-09-12T12:34:28.096700Z

yeah I looked at those, also mentioned them in my writeup

plexus 2020-09-12T12:34:52.097Z

plexus 2020-09-12T12:37:10.097600Z

(gotta run)

lread 2020-09-12T13:02:09.099400Z

Re Nashorn, I see the following in https://clojurescript.org/news/2020-04-24-release: > Rhino, Nashorn, and GraalJS REPLs have been removed

lread 2020-09-12T13:09:54.102Z

I did some work on cljs scripts a long while ago, dated now.. but my notes might help? https://clojure.atlassian.net/browse/CLJS-3075 https://clojure.atlassian.net/browse/CLJS-3098 I vaguely remember agreeing with @mfikes that rewriting these scripts in Clojure might be interestingā€¦