This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-30
Channels
- # adventofcode (27)
- # ai (1)
- # announcements (2)
- # aws (66)
- # babashka (2)
- # beginners (34)
- # calva (28)
- # cider (5)
- # clj-kondo (18)
- # clojure (16)
- # clojure-europe (4)
- # clojure-norway (2)
- # clojure-uk (3)
- # clojurescript (11)
- # code-reviews (23)
- # conjure (23)
- # core-logic (1)
- # cursive (12)
- # datalevin (1)
- # datomic (9)
- # introduce-yourself (3)
- # kaocha (3)
- # klipse (4)
- # malli (42)
- # midje (1)
- # minecraft (1)
- # missionary (4)
- # music (1)
- # nextjournal (10)
- # polylith (5)
- # re-frame (2)
- # reitit (1)
- # releases (1)
- # sci (126)
- # shadow-cljs (4)
- # sql (2)
- # tools-deps (11)
A cool thing that babashka 0.7.3 allows you to do is make a global bb.edn file, e.g. in ~/.tasks/bb.edn
{:tasks {http-server {:extra-deps {babashka/http-server
{:git/url ""
:git/sha "d1f01b47492dec245f3f6d297849ee038243ee86"}}
:task babashka.http-server/-main}}}
and then with a tiny bash wrapper:
~/bin/gtask:
#!/usr/bin/env bash
bb --config ~/.tasks/bb.edn "$@"
And then from anywhere on your system:
$ gtask tasks
The following tasks are available:
http-server
$ gtask http-server
Starting http server at 8090 for .
😀 3
🆒 4
👀 1
1