File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
; ; Example of using clj-chrome-devtools with babashka
2
2
; ;
3
- ; ; Make a .classpath
4
- ; ; $ clj -A:bb -Spath > .classpath
5
- ; ;
6
3
; ; Start Chrome in the background:
7
4
; ; /some/chrome-binary --remote-debugging-port=9222 --headless &
8
5
; ;
9
6
; ; Run with:
10
- ; ; $ bb --classpath $(cat .classpath) bb.clj
7
+ ; ; $ bb bb.clj
8
+
9
+ (require '[babashka.deps :as deps])
10
+ (deps/add-deps
11
+ '{:deps {tatut/devtools {:git/url " https://github.com/tatut/clj-chrome-devtools"
12
+ :git/sha " cc96255433ca406aaba8bcee17d0d0b3b16dc423" }
13
+ org.babashka/spec.alpha {:git/url " https://github.com/babashka/spec.alpha"
14
+ :git/sha " 1a841c4cc1d4f6dab7505a98ed2d532dd9d56b78" }}})
11
15
12
16
(require '[clj-chrome-devtools.core :as core]
13
17
'[clj-chrome-devtools.automation :as auto])
You can’t perform that action at this time.
0 commit comments