forked from logseq/logseq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bb.edn
148 lines (111 loc) · 3.94 KB
/
bb.edn
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
{:paths ["scripts/src" "src/main" "src/resources"]
:deps
{metosin/malli
{:mvn/version "0.10.0"}
logseq/bb-tasks
#_{:local/root "../bb-tasks"}
{:git/url "https://github.com/logseq/bb-tasks"
:git/sha "70d3edeb287f5cec7192e642549a401f7d6d4263"}
logseq/graph-parser
{:local/root "deps/graph-parser"}
org.clj-commons/digest
{:mvn/version "1.4.100"}}
:pods
{clj-kondo/clj-kondo {:version "2023.05.26"}
org.babashka/fswatcher {:version "0.0.3"}}
:tasks
{dev:desktop-watch
logseq.tasks.dev.desktop/watch
dev:open-dev-electron-app
logseq.tasks.dev.desktop/open-dev-electron-app
-dev:electron-start
{:depends [dev:desktop-watch dev:open-dev-electron-app]}
dev:electron-start
{:doc "Start electron dev by watching assets and opening dev app"
;; Parallel execution - https://book.babashka.org/#parallel
:task (run '-dev:electron-start {:parallel true})}
dev:app-watch
logseq.tasks.dev.mobile/app-watch
-dev:build-publishing-frontend
logseq.tasks.dev/build-publishing-frontend
dev:publishing-backend
logseq.tasks.dev/publishing-backend
-dev:publishing-release
{:depends [-dev:build-publishing-frontend]
:doc "Build release publishing spa app given graph and output dirs"
:task (run 'dev:publishing-backend)}
-dev:watch-publishing-frontend
logseq.tasks.dev/watch-publishing-frontend
-dev:watch-publishing-backend
logseq.tasks.dev/watch-publishing-backend
-dev:publishing-dev
{:depends [-dev:watch-publishing-frontend -dev:watch-publishing-backend]
:doc "Watch dev publishing spa app given graph and output dirs"}
dev:publishing
{:doc "Builds full publishing app given graph and output dirs. Append --dev to watch frontend"
:task (if ((set *command-line-args*) "--dev")
(run '-dev:publishing-dev {:parallel true})
(run '-dev:publishing-release))}
dev:npx-cap-run-ios
logseq.tasks.dev.mobile/npx-cap-run-ios
-dev:ios-app
{:depends [dev:app-watch dev:npx-cap-run-ios]}
dev:ios-app
{:doc "iOS development environment"
:task (run '-dev:ios-app {:parallel true})}
release:ios-app
logseq.tasks.dev.mobile/run-ios-release
dev:npx-cap-run-android
logseq.tasks.dev.mobile/npx-cap-run-android
-dev:android-app
{:depends [dev:app-watch dev:npx-cap-run-android]}
dev:android-app
{:doc "Android development environment"
:task (run '-dev:android-app {:parallel true})}
release:android-app
logseq.tasks.dev.mobile/run-android-release
dev:validate-local-storage
logseq.tasks.spec/validate-local-storage
dev:validate-plugins-edn
logseq.tasks.malli/validate-plugins-edn
dev:validate-repo-config-edn
logseq.tasks.malli/validate-repo-config-edn
dev:validate-global-config-edn
logseq.tasks.malli/validate-global-config-edn
dev:validate-ast
logseq.tasks.malli/validate-ast
dev:lint
logseq.tasks.dev/lint
dev:gen-malli-kondo-config
logseq.tasks.dev/gen-malli-kondo-config
lint:large-vars
logseq.bb-tasks.lint.large-vars/-main
lint:carve
logseq.bb-tasks.lint.carve/-main
lint:ns-docstrings
logseq.bb-tasks.lint.ns-docstrings/-main
nbb:watch
logseq.bb-tasks.nbb.watch/watch
nbb:portal-watch
logseq.bb-tasks.nbb.watch/portal-watch
lang:list
logseq.tasks.lang/list-langs
lang:missing
logseq.tasks.lang/list-missing
lang:validate-translations
logseq.tasks.lang/validate-translations
file-sync:integration-tests
logseq.tasks.file-sync/integration-tests}
:tasks/config
{:large-vars
;; TODO: Get to a smaller max-lines-count
{:max-lines-count 100
;; TODO: Address vars tagged with cleanup-todo. These
;; are left mostly because they are not high priority
;; or not well understood
:metadata-exceptions #{:large-vars/cleanup-todo}}
:ns-docstrings
{:paths ["src/main"]
;; Ignore namespaces that won't be helpful to document initially
;; e.g. frontend.components.onboarding -> "Onboarding fns"
:ignore-regex "^(frontend.components|frontend.extensions|frontend.modules|frontend.mobile|logseq.sdk)"}}}