-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.fan
42 lines (33 loc) · 1.11 KB
/
build.fan
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
using build
using compiler
class Build : BuildPod {
new make() {
podName = "afFancordion"
summary = "A tool for creating automated acceptance tests and specification documents"
version = Version("1.1.7")
meta = [
"pod.dis" : "Fancordion",
"repo.tags" : "testing",
"repo.public" : "true"
]
depends = [
"sys 1.0.68 - 1.0",
"concurrent 1.0.68 - 1.0",
"compiler 1.0.68 - 1.0", // for parsing doc comments from src files
"fandoc 1.0.68 - 1.0",
// ---- Core ------------------------
"afBeanUtils 1.0.8 - 1.0",
"afPlastic 1.1.0 - 1.1",
// ---- Test ------------------------
"afBounce 1.1.0 - 1.1",
"afSizzle 1.0.2 - 1.0"
]
srcDirs = [`fan/`, `fan/internal/`, `fan/internal/commands/`, `fan/public/`, `test/`, `test/cmd-run/`, `test/cmd-set/`, `test/cmd-table/`, `test/cmd-verify/`, `test/cmd-verifyErrMsg/`, `test/cmd-verifyErrType/`]
resDirs = [`doc/`, `test/`, `res/classicSkin/`]
meta["afBuild.testPods"] = "afBounce afSizzle"
}
** see http://fantom.org/forum/topic/2283
override Void onCompileFan(CompilerInput ci) {
ci.docTests = true
}
}