This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-05
Channels
- # aleph (2)
- # announcements (3)
- # architecture (5)
- # beginners (51)
- # biff (5)
- # cider (1)
- # clerk (8)
- # clj-kondo (6)
- # cljsrn (5)
- # clojure (31)
- # clojure-europe (42)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-uk (3)
- # emacs (11)
- # fulcro (2)
- # graphql (6)
- # hugsql (1)
- # jobs (2)
- # leiningen (3)
- # lsp (3)
- # malli (13)
- # missionary (1)
- # off-topic (7)
- # pathom (7)
- # polylith (27)
- # reagent (14)
- # reitit (3)
- # remote-jobs (7)
- # shadow-cljs (20)
- # spacemacs (4)
- # sql (3)
- # tools-build (4)
- # xtdb (7)
With a project that has not yet been added to Git version control, when using tasks from a build.clj
script I get the error
fatal: not a git repository (or any of the parent directories): .git
Am I right in assuming that tools.build (or something it depends upon) requires the project to be versioned by Git? (which seems a reasonable requirement)
Or should I investigate my build script further?I expect you have some git command in your build script, like the commit count or something in version?
Ooops, it seems I am calling git-count-revs
from the tools.build API to set :project-version
I wonder if I need a project-version for an uberjar if it's deployed through Docker (seems simpler without a version of the uberjar filename)
doesn't seem very relevant if you're not making a unit for others to consume
👍 4