Skip to content

Commit

Permalink
wip: merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
armed committed Feb 12, 2024
1 parent 0a751b9 commit 6eb01f5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
19 changes: 19 additions & 0 deletions build/build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,25 @@
(b/jar {:class-dir class-dir
:jar-file jar-file}))

(defn build-uber-native [_]
(b/write-pom {:class-dir class-dir
:lib lib
:version version
:basis @basis
:src-dirs ["src"]
:pom-data [[:description "Clojure monorepo tools"]
[:url "https://github.com/kepler16/kmono"]
[:licenses
[:license
[:name "MIT"]
[:url "https://opensource.org/license/mit"]]]]})

(b/copy-dir {:src-dirs ["src"]
:target-dir class-dir})

(b/jar {:class-dir class-dir
:jar-file jar-file}))

(defn release [_]
(deps-deploy/deploy {:installer :remote
:artifact (b/resolve-path jar-file)
Expand Down
6 changes: 1 addition & 5 deletions packages/kmono/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
:aliases {:build {:deps {local/build {:local/root "../../build"}}
:ns-default build}
:lib {:k16/metabuild {:kind :jar}}
:uber {:k16/metabuild {:kind :uber
:main k16.kmono.main}}
:native {:extra-deps {com.github.clj-easy/graal-build-time {:mvn/version "1.0.5"}}}
:test {:extra-paths ["test"]
:extra-deps {lambdaisland/kaocha {:mvn/version "1.86.1355"}}}
:meta {:deps {kepler16/metabuild {:mvn/version "0.10.0"}}
:ns-default k16.metabuild.api}}}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.86.1355"}}}}}
2 changes: 1 addition & 1 deletion packages/kmono/src/k16/kmono/adapters/clojure_deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
([package-path]
(->adapter package-path 10000))
([package-path timeout-ms]
(let [deps-edn (read-deps-edn package-path)
(let [deps-edn (read-deps-edn! package-path)
kmono-config (:kmono/config deps-edn)]
(when kmono-config
(let [{:keys [group artifact] :as config}
Expand Down
1 change: 0 additions & 1 deletion packages/kmono/src/k16/kmono/api.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(ns k16.kmono.api
(:require
[babashka.process :as bp]
[clojure.string :as string]
[k16.kmono.ansi :as ansi]
[k16.kmono.config :as config]
Expand Down

0 comments on commit 6eb01f5

Please sign in to comment.