parent
0147195e8c
commit
a415139b3b
4 changed files with 11 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -38,3 +38,4 @@ target
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.portal
|
.portal
|
||||||
default.iprof
|
default.iprof
|
||||||
|
scratch.clj
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@ A preview of the next release can be installed from
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
- Upgrade Clojure to `1.12.0`
|
||||||
|
- [#1720](https://github.com/babashka/babashka/issues/1720): Include `clojure.java.process`
|
||||||
- [#1598](https://github.com/babashka/babashka/issues/1598): use Rosetta on CircleCI to build x64 images
|
- [#1598](https://github.com/babashka/babashka/issues/1598): use Rosetta on CircleCI to build x64 images
|
||||||
- Bump SCI
|
- Bump SCI
|
||||||
- Bump `fs`
|
- Bump `fs`
|
||||||
|
|
|
||||||
6
src/babashka/impl/clojure/java/process.clj
Normal file
6
src/babashka/impl/clojure/java/process.clj
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
(ns babashka.impl.clojure.java.process
|
||||||
|
(:require [clojure.java.process]
|
||||||
|
[sci.core :as sci]))
|
||||||
|
|
||||||
|
(def cjp (sci/create-ns 'clojure.java.process nil))
|
||||||
|
(def cjp-namespace (sci/copy-ns clojure.java.process cjp))
|
||||||
|
|
@ -25,6 +25,7 @@
|
||||||
[babashka.impl.clojure.tools.reader-types :refer [edn-namespace
|
[babashka.impl.clojure.tools.reader-types :refer [edn-namespace
|
||||||
reader-types-namespace]]
|
reader-types-namespace]]
|
||||||
[babashka.impl.clojure.zip :refer [zip-namespace]]
|
[babashka.impl.clojure.zip :refer [zip-namespace]]
|
||||||
|
[babashka.impl.clojure.java.process :refer [cjp-namespace]]
|
||||||
[babashka.impl.common :as common]
|
[babashka.impl.common :as common]
|
||||||
[babashka.impl.core :as bbcore]
|
[babashka.impl.core :as bbcore]
|
||||||
[babashka.impl.curl :refer [curl-namespace]]
|
[babashka.impl.curl :refer [curl-namespace]]
|
||||||
|
|
@ -389,6 +390,7 @@ Use bb run --help to show this help output.
|
||||||
'main main-var}
|
'main main-var}
|
||||||
'clojure.test t/clojure-test-namespace
|
'clojure.test t/clojure-test-namespace
|
||||||
'clojure.math math-namespace
|
'clojure.math math-namespace
|
||||||
|
'clojure.java.process cjp-namespace
|
||||||
'babashka.classpath classpath-namespace
|
'babashka.classpath classpath-namespace
|
||||||
'babashka.classes classes-namespace
|
'babashka.classes classes-namespace
|
||||||
'clojure.pprint pprint-namespace
|
'clojure.pprint pprint-namespace
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue