-
Notifications
You must be signed in to change notification settings - Fork 10
/
info.clj
29 lines (28 loc) · 1.64 KB
/
info.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(ns leiningen.polylith.cmd.help.info
(:require [leiningen.polylith.cmd.shared :as shared]))
(defn help []
(println " Shows the content of a Polylith workspace and its changes since")
(println " the last successful test or build or a given point in time.")
(println)
(println " Each row is followed by an * if something has changed.")
(println " Each row is followed by a (*) if nothing has changed but it")
(println " depends on one or more components that have changed.")
(println)
(println " lein polylith info [ARG]")
(println " ARG = (omitted) -> Since last successful test or build, stored in bookmark")
(println " :last-success in WS-ROOT/.polylith/time.edn")
(println " or :last-success in WS-ROOT/.polylith/git.edn")
(println " if you have the CI variable set to something on the machine.")
(println " timestamp -> Since the given timestamp (milliseconds since 1970).")
(println " git-hash -> Since the given git hash if the CI variable is set.")
(println " bookmark -> Since the timestamp for the given bookmark in")
(println " WS-ROOT/.polylith/time.edn or since the git hash")
(println " for the given bookmark in WS-ROOT/.polylith/git.edn")
(println " if the CI variable set.")
(println)
(println " example:")
(println " lein polylith info")
(if (shared/ci?)
(println " lein polylith info 7d7fd132412aad0f8d3019edfccd1e9d92a5a8ae")
(println " lein polylith info 1523649477000"))
(println " lein polylith info mybookmark"))