Add reflection script
This commit is contained in:
parent
ae6d0bcda6
commit
a81b7a9737
1 changed files with 6 additions and 0 deletions
6
script/reflection.clj
Executable file
6
script/reflection.clj
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bb
|
||||
|
||||
(require '[clojure.java.io :as io] '[clojure.string :as str] '[clojure.java.shell :refer [sh]])
|
||||
(def version (str/trim (slurp (io/file "resources" "BABASHKA_VERSION"))))
|
||||
(sh "lein" "with-profiles" "+reflection" "run")
|
||||
(io/copy (io/file "reflection.json") (io/file (str "babashka-" version "-reflection.json")))
|
||||
Loading…
Reference in a new issue