-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbleep.yaml
141 lines (141 loc) · 3.94 KB
/
bleep.yaml
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
$schema: https://raw.githubusercontent.com/oyvindberg/bleep/master/schema.json
$version: 0.0.7
jvm:
name: graalvm-community:21.0.2
projects:
# these tests do not depend on running codegen, just unit tests and so on
tests:
dependencies: org.scalatest::scalatest:3.2.18
dependsOn: typo
extends: template-nocross
isTestProject: true
# main project
typo:
cross:
jvm212:
scala:
strict: false
options: -Xsource:3 -language:higherKinds -language:implicitConversions
version: 2.12.19
dependencies:
- com.typesafe.play::play-json:2.10.6
- org.playframework.anorm::anorm:2.7.0
- org.postgresql:postgresql:42.7.3
- com.zaxxer:HikariCP:4.0.3
- org.slf4j:slf4j-nop:2.0.13
extends: template-cross
platform:
mainClass: com.foo.App
sources: ./generated-and-checked-in
typo-dsl-anorm:
dependencies: org.playframework.anorm::anorm:2.7.0
extends: template-cross
sources: ../typo-dsl-shared
typo-dsl-doobie:
dependencies: org.tpolecat::doobie-postgres:1.0.0-RC5
extends: template-cross
sources: ../typo-dsl-shared
typo-dsl-zio-jdbc:
dependencies: dev.zio::zio-jdbc:0.1.2
extends: template-cross
sources: ../typo-dsl-shared
# scripts for publishing, codegen and so on
typo-scripts:
dependencies: build.bleep::bleep-plugin-ci-release:${BLEEP_VERSION}
dependsOn: typo
extends: template-nocross
scala:
version: 3.5.0
# scripts for generating docs
typo-scripts-doc:
dependencies:
- build.bleep::bleep-plugin-dynver:${BLEEP_VERSION}
- build.bleep::bleep-plugin-mdoc:${BLEEP_VERSION}
dependsOn:
- typo
- typo-tester-anorm
extends: template-nocross
scala:
version: 3.5.0
strict: false
# scripts generate code into the tester projects, and there are hand-written tests inside as well
typo-tester-anorm:
dependencies:
- com.typesafe.play::play-json:2.10.6
- org.postgresql:postgresql:42.7.3
- org.scalatest::scalatest:3.2.18
dependsOn: typo-dsl-anorm
extends: template-cross
isTestProject: true
sourcegen:
main: scripts.GenHardcodedFiles
project: typo-scripts
sources: ./generated-and-checked-in
typo-tester-doobie:
dependencies:
- io.circe::circe-core:0.14.7
- org.postgresql:postgresql:42.7.3
- org.scalatest::scalatest:3.2.18
dependsOn: typo-dsl-doobie
extends: template-cross
isTestProject: true
sourcegen:
main: scripts.GenHardcodedFiles
project: typo-scripts
sources: ./generated-and-checked-in
typo-tester-none:
extends: template-cross
sources: ./generated-and-checked-in
typo-tester-zio-jdbc:
dependencies:
- dev.zio::zio-json:0.7.0
- org.postgresql:postgresql:42.7.3
- org.scalatest::scalatest:3.2.18
dependsOn: typo-dsl-zio-jdbc
extends: template-cross
isTestProject: true
sourcegen:
main: scripts.GenHardcodedFiles
project: typo-scripts
sources: ./generated-and-checked-in
scripts:
compile-benchmarks:
main: scripts.CompileBenchmark
project: typo-scripts
generate-adventureworks:
main: scripts.GeneratedAdventureWorks
project: typo-scripts
sourceGlobs: ../adventureworks_sql
generate-docs:
main: scripts.GenDocumentation
project: typo-scripts-doc
generate-sources:
main: scripts.GeneratedSources
project: typo-scripts
my-publish-local:
main: scripts.PublishLocal
project: typo-scripts
publish:
main: scripts.Publish
project: typo-scripts
templates:
template-common:
platform:
name: jvm
scala:
options: -Xfatal-warnings -encoding utf8 -feature -unchecked
strict: true
template-cross:
cross:
jvm213:
scala:
options: -Xsource:3
version: 2.13.12
jvm3:
extends: template-nocross
extends: template-common
template-nocross:
extends: template-common
scala:
options: -source 3.3
version: 3.3.3