This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-13
Channels
- # beginners (17)
- # boot (16)
- # cider (13)
- # cljs-dev (26)
- # cljsrn (5)
- # clojure (155)
- # clojure-belgium (2)
- # clojure-spec (19)
- # clojure-uk (4)
- # clojurescript (32)
- # community-development (16)
- # core-async (12)
- # cursive (3)
- # datomic (7)
- # hoplon (14)
- # lambdaisland (1)
- # lumo (16)
- # microservices (1)
- # off-topic (3)
- # om (5)
- # onyx (4)
- # protorepl (1)
- # re-frame (1)
- # rum (1)
- # specter (6)
- # unrepl (32)
Hey does anyone know where I can find a tutorial which runs through creating my own library and installing it locally. Want to use a branch of a library.
grounded_sage: depending on how the project is set up, I suspect boot build install
will work
https://github.com/magomimmo/modern-cljs/blob/master/doc/first-edition/tutorial-19.md
https://github.com/magomimmo/modern-cljs/blob/master/doc/first-edition/tutorial-19.md
This seems like the best thing I can find online.
@grounded_sage yes, you can just use lein install
as described in the tutorial. You can also look at checkout dependencies in case you want a quicker turnaround during the development: https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies
I'm not sure what the checkout dependencies provides at a glance. Probably not suited to me anyways as I am a 100% boot user. The branch I am using is a major version bump of a library which I will be using for every project so just looking to do a local build and install.
checkout deps allow conveniently reloading a library's namespaces as you edit them without having to reinstall and restart the repl
is there a way to format nil
so it shows as a blank string or a space?
For example if the author is still alive I want (format "%s (%d - %d)" name birth death)
to show an empty space after -
You could use (or death "")
Although I don't know if that works with %d
if what you're trying to do is trace values, you might be interested in: https://github.com/dgrnbrg/spyscope