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