Hi all, have bumped up against a couple of issues in writing a Machfile: https://gist.github.com/crimeminister/f4f57ef5eafb8d8a8d0a5e87e48403dc
@crimeminister shared a file: https://clojurians.slack.com/files/U066SF64X/F8J4XSXED/machfile.edn
One is that I can't seem to require '[lumo.util]
to make use of the lumo.util/file?
function
And the other is that using a CLJS regex breaks things
Robert Medeiros:
{
mach/props [token-pattern #"_authToken=(.+)"]
;;mach/props [token-pattern (js/RegExp. "_authToken=(.+)")]
main (println token-pattern)
}
i.e. using js/RegExp
works where using #""
does not
Any tips or insight appreciated
Turns out the easy fix for being unable to use lumo.util/file?
is to use mach.core/file?
.