get docker deploy working

This commit is contained in:
Travis Shears 2025-07-26 10:35:55 +02:00
parent 7e0659cebe
commit 637bb6740c
10 changed files with 101 additions and 23 deletions

View file

@ -1,7 +1,7 @@
(ns build
(:require [clojure.tools.build.api :as b]))
(def lib 'snippets)
(def lib 'micro-blog)
(def class-dir "target/classes")
(def uber-file (format "target/%s-standalone.jar" (name lib)))
@ -17,9 +17,9 @@
(b/copy-dir {:src-dirs ["src" "resources"]
:target-dir class-dir})
(b/compile-clj {:basis @basis
:ns-compile '[snippets.main]
:ns-compile '[micro-blog.main]
:class-dir class-dir})
(b/uber {:class-dir class-dir
:uber-file uber-file
:basis @basis
:main 'snippets.main}))
:main 'micro-blog.main}))