forked from boot-clj/boot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs
executable file
·207 lines (162 loc) · 5.39 KB
/
mkdocs
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
#!/usr/bin/env boot
;; vim: set ft=clojure:
(set-env!
:dependencies '[[adzerk/clj-github-docs "0.1.1"]])
(require
'[adzerk.clj-github-docs :refer :all])
(defn -main [& _]
(write-docs
:ns boot.task.built-in
:tag *boot-version*
:src "boot/core/src"
:doc "Boot built-in tasks."
(section
"Info"
help show)
(section
"Develop"
notify repl speak wait watch)
(section
"Fileset"
add-repo sift uber)
(section
"Build"
aot javac)
(section
"Package"
pom jar web war zip)
(section
"Deploy"
install push target)
(section
"Deprecated"
checkout))
(write-docs
:ns boot.util
:tag *boot-version*
:src "boot/pod/src"
:doc "Namespace containing various utility functions and macros to make
life easier in Boot scripts."
(section
"Settings (read-only)"
*colorize?* *verbosity* colorize?-system-default)
(section
"Shell"
dosh sh *sh-dir*)
(section
"Exit"
exit-ok exit-error)
(section
"Logging"
dbug dbug* info warn fail warn-deprecated)
(section
"Useful Macros"
guard while-let with-err-str with-let with-resolve with-rethrow
without-exiting dotoseq do-while-let extends-protocol)
(section
"Printing"
pp* pp-str print-ex print-tree)
(section
"Miscellaneous"
extract-ids auto-flush bind-syms dep-as-map map-as-dep let-assert-keys
index-of jarname path->ns read-string-all with-semaphore with-semaphore-noblock))
(write-docs
:ns boot.pod
:tag *boot-version*
:src "boot/pod/src"
:doc "Namespace containing functions and vars related to pods, dependencies,
jar files, and classloaders."
(section
"Settings (read-only)"
env data pods pod-id worker-pod shutdown-hooks)
(section
"Pods"
get-pods call-in* with-call-in with-call-worker eval-in* with-eval-in
with-eval-worker eval-fn-call get-pods make-pod require-in send!
destroy-pod pod-pool pod-name this-pod with-invoke-in with-invoke-worker)
(section
"Classpath"
add-classpath add-dependencies add-dependencies-in add-dependencies-worker
dependency-loaded? get-classpath modifiable-classloader? resources
seal-app-classloader classloader-hierarchy classloader-resources
copy-resource resource-last-modified)
(section
"Dependencies"
resolve-release-versions
resolve-dependencies resolve-dependency-jar resolve-dependency-jars
resolve-nontransitive-dependencies apply-exclusions apply-global-exclusions
canonical-coord copy-dependency-jar-entries default-dependencies
dependency-pom-properties dependency-pom-properties-map outdated
extract-ids jars-dep-graph jars-in-dep-order coord->map map->coord)
(section
"Jars"
copy-url jar-entries jar-entries* jar-entries-memoized* pom-properties
pom-properties-map pom-xml pom-xml-map unpack-jar)
(section
"Jar Exclusions & Mergers"
concat-merger first-wins-merger into-merger standard-jar-mergers
standard-jar-exclusions)
(section
"Misc. Utility"
lifecycle-pool add-shutdown-hook! caller-namespace non-caching-url-input-stream)
(section
"Deprecated / Internal"
eval-in-caller eval-in-callee with-pod with-worker
set-pods! set-data! set-pod-id! set-worker-pod! set-this-pod!))
(write-docs
:ns boot.core
:tag *boot-version*
:src "boot/core/src"
:doc "The Boot core namespace, containing most of Boot's public API."
(section
"Settings (read-only)"
*app-version* *boot-script* *boot-version* *boot-opts* *warnings*
new-build-at last-file-change bootignore)
(section
"Configuration Helpers"
load-data-readers! configure-repositories!)
(section
"Boot Environment"
get-checkouts
get-env set-env! merge-env! get-sys-env set-sys-env! pre-env! post-env!)
(section
"Define Tasks"
deftask cleanup reset-build! reset-fileset with-pre-wrap with-pass-thru
with-post-wrap)
(section
"Manipulate Task Options"
task-options! replace-task! disable-task!)
(section
"REPL Integration"
boot rebuild! launch-nrepl)
(section
"Create Temp Directories"
tmp-dir! cache-dir!)
(section
"TmpFile API"
tmp-path tmp-dir tmp-file tmp-time)
(section
"Query Fileset For TmpFiles"
tmp-get user-files input-files output-files)
(section
"Filter Sequences Of TmpFiles"
file-filter by-ext by-name by-path by-re not-by-ext not-by-name
not-by-path not-by-re by-meta not-by-meta)
(section
"Other Fileset Queries"
ls fileset-namespaces input-fileset output-fileset user-dirs input-dirs
output-dirs checkout-dirs)
(section
"Manipulate Fileset"
new-fileset commit! rm mv cp add-meta add-asset add-cached-asset add-source
add-cached-source add-resource add-cached-resource mv-asset mv-source mv-resource)
(section
"Fileset Diffs"
fileset-diff fileset-added fileset-removed fileset-changed)
(section
"Misc. Helpers"
gpg-decrypt json-generate json-parse yaml-generate yaml-parse touch
git-files empty-dir! sync! patch! watch-dirs template)
(section
"Deprecated / Internal"
tmppath tmpdir tmpget tmpfile tmptime temp-dir! fileset-reduce init!)))