Skip to content

Commit

Permalink
Add test to build path
Browse files Browse the repository at this point in the history
To use factories namespace to add jobs easily
  • Loading branch information
alishamohanty committed Jun 13, 2024
1 parent 348f439 commit 6741c46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@

;; delay to defer side effects (artifact downloads)
(def basis (delay (b/create-basis {:project "deps.edn"
:aliases [:console]})))
:aliases [:console :test]})))

(defn clean []
(b/delete {:path "target"}))

(defn uber [_]
(clean)
(b/copy-dir {:src-dirs ["src" "resources/public" "console"]
(b/copy-dir {:src-dirs ["src" "resources/public" "console" "test"]
:target-dir class-dir})
(b/compile-clj {:basis @basis
:src-dirs ["src" "resources/public" "console"]
:src-dirs ["src" "resources/public" "console" "test"]
:ns-compile '[goose.console-client]
:class-dir class-dir})
(b/uber {:class-dir class-dir
Expand Down

0 comments on commit 6741c46

Please sign in to comment.