Fork me on GitHub
#planck
<
2018-10-30
>
borkdude22:10:22

Thanks for the setup instructions.

$ script/build -R:cljs/dev --fast
make: *** No targets specified and no makefile found.  Stop.
Build Failed.

borkdude22:10:35

I’m getting that error now btw. Do I need to give an extra arg?

borkdude22:10:28

I installed cmake before this step, which was missing

mfikes22:10:29

@borkdude perhaps a script/clean first will straighten things out

borkdude22:10:06

seems to work

borkdude22:10:15

is this something I should care about?

ld: warning: text-based stub file /System/Library/Frameworks//JavaScriptCore.framework/JavaScriptCore.tbd and library file /System/Library/Frameworks//JavaScriptCore.framework/JavaScriptCore are out of sync. Falling back to library file for linking.

borkdude22:10:07

planck compiled and works now btw

mfikes22:10:53

I started seeing that as well with the latest macOS. Googling for it didn’t seem to clarify what is causing it. It seems to be an innocuous warning as far as I can tell.

borkdude22:10:21

ok:

$ plk
ClojureScript 0.0.139042618
cljs.user=>

borkdude22:10:00

but:

$ clj -A:test:clj-tests

Running tests in #{"test"}

Testing speculative.core-test
generatively testing  clojure.core/str
((:spec :clojure.spec.test.check/ret :sym))
({:result true, :pass? true, :num-tests 20, :time-elapsed-ms 60, :seed 1540937561398})
generatively testing  clojure.core/=
((:spec :clojure.spec.test.check/ret :sym))
({:result true, :pass? true, :num-tests 20, :time-elapsed-ms 25, :seed 1540937561476})
vs
$ plk -A:test:plk-tests
...
Testing speculative.test-test

Testing speculative.core-test
generatively testing  cljs.core/=
((:spec :clojure.test.check/ret :sym))
(nil)
generatively testing  cljs.core/str
((:spec :clojure.test.check/ret :sym :failure))
(nil)

Ran 21 tests containing 82 assertions.

borkdude22:10:24

I notice the difference. in clj the key is :clojure.spec.test.check/ret but in cljs it’s :clojure.test.check/ret.

borkdude22:10:49

any reason for the difference?

mfikes22:10:13

Could be a bug in the compiler

borkdude22:10:56

maybe a typo

mfikes22:10:07

If reporting it, repro with cljs.main (not Planck)

borkdude22:10:23

will do. thanks