bundle babashka cli
This commit is contained in:
parent
5c03eef36b
commit
dc5b36bbe6
4 changed files with 15 additions and 2 deletions
3
deps.edn
3
deps.edn
|
|
@ -48,7 +48,8 @@
|
|||
org.clojure/tools.logging {:mvn/version "1.1.0"}
|
||||
org.clojure/data.priority-map {:mvn/version "1.1.0"}
|
||||
insn/insn {:mvn/version "0.5.2"}
|
||||
org.clojure/core.rrb-vector {:mvn/version "0.1.2"}}
|
||||
org.clojure/core.rrb-vector {:mvn/version "0.1.2"}
|
||||
org.babashka/cli {:mvn/version "0.3.33"}}
|
||||
:aliases {:babashka/dev
|
||||
{:main-opts ["-m" "babashka.main"]}
|
||||
:profile
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
[org.clojure/test.check "1.1.1"]
|
||||
[com.github.clj-easy/graal-build-time "0.1.0"]
|
||||
[rewrite-clj/rewrite-clj "1.0.699-alpha"]
|
||||
[insn/insn "0.5.2"]]
|
||||
[insn/insn "0.5.2"]
|
||||
[org.babashka/cli "0.3.33"]]
|
||||
:plugins [[org.kipz/lein-meta-bom "0.1.1"]]
|
||||
:metabom {:jar-name "metabom.jar"}
|
||||
:profiles {:feature/xml {:source-paths ["feature-xml"]
|
||||
|
|
|
|||
9
src/babashka/impl/cli.clj
Normal file
9
src/babashka/impl/cli.clj
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(ns babashka.impl.cli
|
||||
(:require
|
||||
[babashka.cli]
|
||||
[sci.core :as sci]))
|
||||
|
||||
(def cns (sci/create-ns 'babashka.cli))
|
||||
|
||||
(def cli-namespace
|
||||
(sci/copy-ns babashka.cli cns))
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
[babashka.impl.cheshire :refer [cheshire-core-namespace]]
|
||||
[babashka.impl.classes :as classes]
|
||||
[babashka.impl.classpath :as cp :refer [classpath-namespace]]
|
||||
[babashka.impl.cli :as cli]
|
||||
[babashka.impl.clojure.core :as core :refer [core-extras]]
|
||||
[babashka.impl.clojure.core.async :refer [async-namespace
|
||||
async-protocols-namespace]]
|
||||
|
|
@ -409,6 +410,7 @@ Use bb run --help to show this help output.
|
|||
;; 'init (sci/copy-var sci/init sci-ns)
|
||||
;; 'fork (sci/copy-var sci/fork sci-ns)
|
||||
}
|
||||
'babashka.cli cli/cli-namespace
|
||||
}
|
||||
features/xml? (assoc 'clojure.data.xml @(resolve 'babashka.impl.xml/xml-namespace)
|
||||
'clojure.data.xml.event @(resolve 'babashka.impl.xml/xml-event-namespace)
|
||||
|
|
|
|||
Loading…
Reference in a new issue