aboutsummaryrefslogtreecommitdiff
path: root/cli/build.clj
diff options
context:
space:
mode:
authorYour Name <agrawalshagun07@gmail.com>2025-03-16 18:03:26 +0530
committerYour Name <agrawalshagun07@gmail.com>2025-03-16 18:03:26 +0530
commit32499638cef3c49ff686b19b5708d6b08712c526 (patch)
tree31f09287602d243b22660fe455e5174bdcc280b4 /cli/build.clj
parent277319fa392f5ee9f21eedf2c4d224739f045690 (diff)
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.
Diffstat (limited to 'cli/build.clj')
-rw-r--r--cli/build.clj9
1 files changed, 5 insertions, 4 deletions
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)