Fork me on GitHub
#conjure
<
2020-05-30
>
martinklepsch02:05:38

Another odd fennel thing, os.execute output glitches with buffer:

(global deps
  {:moses.lua ""})

; when evaluating this form the curl output is printed right in the buffer
(each [k v (pairs deps)]
  (print (.. "curl -L -o " k " " v))
  (os.execute (.. "curl -L -o " k " " v)))

Olical11:05:20

Whaaaaat I'll have to try and repro that one. Weird!

martinklepsch03:05:57

Completely unrelated I wrote a “dependency manager” 😂 for my lua/fennel scripts: https://gist.github.com/martinklepsch/49ed53cc18879fa1055b9bdd77471c95

pyrmont03:05:31

This is pretty cool!

Olical11:05:07

Oh neat! I have embed.sh in Aniseeds repo which sort of copies files out of a deps directory (managed by dep.sh) while sed rewriting prefixes so my-lib would become aniseed.my-lib, in the case of embedding something in aniseed.

martinklepsch11:05:42

Yeah, briefly considered a prefix of sorts but wanted to keep it simple for now.

Olical11:05:13

Feel free to take bits out of Aniseeds scripts dir if they suit your needs ☺️

thheller13:05:54

@olical does conjure still use prepl or is it all nrepl now?

dharrigan13:05:33

I believe the new version is nrepl completely

Olical13:05:25

Entirely nREPL at the moment but I'll probably add an alternative prepl implementation for those that really want it eventually.

👍 1