This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-30
Channels
- # announcements (5)
- # babashka (5)
- # beginners (39)
- # calva (1)
- # chlorine-clover (22)
- # circleci (4)
- # clara (5)
- # clj-kondo (1)
- # cljs-dev (2)
- # cljsrn (8)
- # clojure (46)
- # clojure-canada (15)
- # clojure-norway (3)
- # clojure-uk (6)
- # clojurescript (39)
- # conjure (10)
- # core-async (9)
- # datomic (2)
- # figwheel-main (26)
- # fulcro (33)
- # ghostwheel (9)
- # jobs (6)
- # leiningen (1)
- # malli (7)
- # music (1)
- # off-topic (48)
- # re-frame (11)
- # reagent (1)
- # shadow-cljs (86)
- # spacemacs (8)
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)))
Completely unrelated I wrote a “dependency manager” 😂 for my lua/fennel scripts: https://gist.github.com/martinklepsch/49ed53cc18879fa1055b9bdd77471c95
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.
Yeah, briefly considered a prefix of sorts but wanted to keep it simple for now.