File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -1802,6 +1802,37 @@ outside of Duct:
1802
1802
1803
1803
== Integrations
1804
1804
1805
+ === Babashka
1806
+
1807
+ https://babashka.org/[Babashka] is a fast, native Clojure scripting
1808
+ runtime, and it includes a task runner that can be configured with a
1809
+ `bb.edn` file.
1810
+
1811
+ Duct can set up a basic `bb.edn` file for you with the `--init-bb`
1812
+ option.
1813
+
1814
+ [,shell]
1815
+ ----
1816
+ $ duct --init-bb
1817
+ Created bb.edn
1818
+ ----
1819
+
1820
+ This sets up three tasks: `main`, `test` and `repl` that correspond
1821
+ to running `--main`, `--test` and `--repl`.
1822
+
1823
+ [,shell]
1824
+ ----
1825
+ $ bb test
1826
+ ✓ Loading test environment
1827
+ [(..)]
1828
+ 2 tests, 2 assertions, 0 failures.
1829
+ ----
1830
+
1831
+ One advantage of using a task runner like Babashka is that you can
1832
+ specify different dependencies for task. Another advantage is that a new
1833
+ developer doesn't have to set up a `duct` alias as long as they have
1834
+ Babashka installed.
1835
+
1805
1836
=== Docker
1806
1837
1807
1838
https://www.docker.com/[Docker] is a system for running software in
You can’t perform that action at this time.
0 commit comments