From 32499638cef3c49ff686b19b5708d6b08712c526 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 16 Mar 2025 18:03:26 +0530 Subject: Refactor into cli and cljcc-compiler folders Pass all tests. Fix babashka tasks and build setup. Repl is behaving in unexpected ways, otherwise working as expected. --- cli/build.clj | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cli/build.clj') diff --git a/cli/build.clj b/cli/build.clj index 47c8537..4bf6a82 100644 --- a/cli/build.clj +++ b/cli/build.clj @@ -2,14 +2,14 @@ (:refer-clojure :exclude [test]) (:require [clojure.tools.build.api :as b])) -(def lib 'net.clojars.cljcc/cljcc) -(def main 'cljcc.cljcc) +(def lib 'net.clojars.cljcc-cli/cljcc-cli) +(def main 'cli.cli) (def class-dir "../target/classes") (defn- uber-opts [opts] (assoc opts :lib lib :main main - :uber-file "../target/cljcc/cljcc.jar" + :uber-file "../target/cli/cljcc-cli.jar" :basis (b/create-basis {}) :class-dir class-dir :src-dirs ["src"] @@ -23,5 +23,6 @@ (println (str "\nCompiling " main "...")) (b/compile-clj opts) (println "\nBuilding JAR...") - (b/uber opts)) + (b/uber opts) + (println "\nJAR built.")) opts) -- cgit v1.2.3