This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-02
Channels
- # aleph (14)
- # boot (4)
- # cider (3)
- # clara (1)
- # cljs-dev (62)
- # cljsrn (20)
- # clojure (81)
- # clojure-berlin (2)
- # clojure-russia (76)
- # clojure-spec (35)
- # clojure-turkiye (1)
- # clojurescript (84)
- # cursive (2)
- # data-science (6)
- # datomic (4)
- # hoplon (92)
- # lumo (35)
- # om-next (1)
- # pedestal (2)
- # re-frame (2)
- # reagent (36)
- # ring-swagger (10)
- # unrepl (30)
- # untangled (124)
@moxaj merged your PR. if you’re up for it, the next step is adding this support in lumo.closure
I think you had something like that working already if I’m not mistaken
or it might just be the case that it works out of the box
Yoooo https://github.com/anmonteiro/lumo/commit/452ef43d7d928cd0f2aeb8be5eab466821b46fcd
I'm so glad to finally get that merged; it's been a fair number of months in the making!
yeah, I’m excited. It’s a significant feature
if you’re on a mac you can probably get a build of the master checkout if you run brew install --HEAD lumo
not like you don’t know what it does 😉
ooo, neat; I'm gonna do that tomorrow at work (where I've got a mac. it's all Linux at home :))
@futuro so once this build finishes running https://travis-ci.org/anmonteiro/lumo/builds/249253022?utm_source=github_status&utm_medium=notification
you can download a binary from http://s3.amazonaws.com/lumo-linux/lumo.zip
trying to use lumo to build some source files, but I get EINVAL: invalid argument, utime '<...>\out\cljs\core.cljs'
stacktrace is
Object.fs.utimesSync (fs.cljs:1235:11)
(Object.lumo$util$set_last_modified)
Function.lumo.closure.jar_file_to_disk.cljs$core$IFn$_invoke$arity$3 (evalmachine.<anonymous>:1589:11)
(Object.lumo$closure$compile_from_jar)
lumo.closure._compile.object (evalmachine.<anonymous>:1675:21)
(Object.lumo$closure$_compile)
(evalmachine.<anonymous>:2297:21)
Function.lumo.closure.map_async.cljs$core$IFn$_invoke$arity$4 (evalmachine.<anonymous>:2118:105)
Function.lumo.closure.map_async.cljs$core$IFn$_invoke$arity$3 (evalmachine.<anonymous>:2107:31)
Function.lumo.closure.compile_sources.cljs$core$IFn$_invoke$arity$4 (evalmachine.<anonymous>:2276:35)
might be a windows specific issueit seems like the timestamp aquired by Date.getTime
is to be interpreted as milliseconds, but fs.utimes(Sync)
expects seconds
and windows isn't particularly happy when I try to set the last modified date on a file to 08/07/49471 @ 11:07am (UTC)
😄
@anmonteiro with those prs, I can build, but with :source-maps true
I need the cljs uberjar on the classpath, and that doesn't sound right to me
hrm I think we remove it from the classpath manually
do you think that’s this issue? https://github.com/anmonteiro/lumo/issues/132
might be, the issue says It's not always this exact message, but it seems to always be something that's not defined.
and I have a hunch this line is the cause: https://github.com/anmonteiro/lumo/blob/22d210abf51a4a93218857cd780b58024176eabb/scripts/package.js#L50
ah yeah
you’re probably right