From c2d1273319ef4e50c168e3b5a5af6c10463fdfa2 Mon Sep 17 00:00:00 2001 From: Artem Medeu Date: Fri, 20 Jan 2023 15:49:56 +0600 Subject: [PATCH] fix: user k16/metabuild --- Justfile | 4 ++-- build.clj | 18 ------------------ deps.edn | 8 +++++--- 3 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 build.clj diff --git a/Justfile b/Justfile index b7d94c3e..6b46a005 100644 --- a/Justfile +++ b/Justfile @@ -18,12 +18,12 @@ clean: rm -rf target build: clean - clojure -T:build org.corfield.build/jar :lib {{library}} :version \"{{version}}\" :transitive true + clojure -T:meta run :alias lib :lib {{library}} :version \"{{version}}\" mkdir -p {{assets_dir}} cp target/*.jar {{assets_dir}} release: - clojure -T:build org.corfield.build/deploy :repository \"{{maven_server}}\" :lib {{library}} :version \"{{version}}\" + clojure -T:meta deploy :repository \"{{maven_server}}\" :lib {{library}} :version \"{{version}}\" repl *ARGS: bin/launchpad --emacs dev {{ ARGS }} diff --git a/build.clj b/build.clj deleted file mode 100644 index b641f084..00000000 --- a/build.clj +++ /dev/null @@ -1,18 +0,0 @@ -(ns build - (:require [clojure.tools.build.api :as b] - [org.corfield.build :as bb])) - -(def global-opts - {:repository "github-kepler" - :lib 'kepler16/gx.cljc}) - -(defn release-prepare [opts] - (->> opts - (merge global-opts) - (bb/clean) - (bb/jar))) - -(defn release-publish [opts] - (->> opts - (merge global-opts) - (bb/deploy))) diff --git a/deps.edn b/deps.edn index 6b67e260..514e0ef6 100644 --- a/deps.edn +++ b/deps.edn @@ -20,6 +20,11 @@ org.clojure/tools.logging {:mvn/version "1.2.4"}} :jvm-opts ["-Dclojure.tools.logging.factory=clojure.tools.logging.impl/slf4j-factory"]} + :lib {:k16/metabuild {:kind :jar}} + + :meta {:deps {kepler16/metabuild {:mvn/version "0.3.9"}} + :ns-default k16.metabuild.api} + :test {:extra-paths ["test"] :extra-deps {io.github.cognitect-labs/test-runner {:git/tag "v0.5.1" :git/sha "dfb30dd"}} @@ -30,7 +35,4 @@ :extra-deps {lambdaisland/kaocha {:mvn/version "1.70.1086"}} :main-opts ["-m" "kaocha.runner"]} - :build {:deps {io.github.seancorfield/build-clj - {:git/tag "v0.8.0" :git/sha "9bd8b8a"}}} - :shadow-cljs {:main-opts ["-m" "shadow.cljs.devtools.cli"]}}}