forked from yet-another-static-site-generator/yass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bob.yml
91 lines (91 loc) · 2.42 KB
/
.bob.yml
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
- command:
name: runtests
execute:
- cd tests/driver
- ./test_runner
description: Run Yass unit tests
- command:
name: debug
execute:
- gprbuild -P yass.gpr
description: Build Yass in debug mode
- command:
name: release
execute:
- tclsh others/build.tcl
description: Build yass in release mode
- command:
name: analyze
execute:
- gprbuild -P yass.gpr -XMode=analyze
description: Build yass in analyze mode
- command:
name: clean
execute:
- gprclean -P yass.gpr
description: Clean all compilation files
- command:
name: createtests
execute:
- gnattest -P yass.gpr
description: Regenerate unit tests
- command:
name: docs
execute:
- others/generatedocs.tcl
description: Generate code documentation
- command:
name: gprof
execute:
- gprof bin/yass gmon.out
description: Generate gprof report
- command:
name: push
execute:
- fossil push
- fossil git export --force
description: Update remote Fossil repository and its Git mirror
- command:
name: windows
execute:
- sudo docker run --rm -w /app -v $PWD:/app ghcr.io/thindil/adabuildwin64:10 /bin/bash others/build.tcl x86_64-windows
description: Build yass release for Windows on Linux
flags:
- unixonly
- command:
name: tests
execute:
- tclsh others/tests.tcl
description: Build and run yass unit tests
- command:
name: pretty
execute:
- gnatpp -P yass.gpr
- gnatpp -P tests/prettytests.gpr
description: Pretty print yass source code
- command:
name: prettytests
execute:
- gnatpp -P tests/prettytests.gpr
description: Pretty print unit tests source code
- command:
name: check
execute:
- sudo docker run --rm -w /app -v $PWD:/app ghcr.io/thindil/adacontrol:9 /bin/bash others/check.tcl
description: Run AdaControl to check correctness of the code required argument is full path to the program source code
flags:
- unixpath
- command:
name: checkall
execute:
- bob debug
- bob tests
- bob check
description: Run all the project tests
- command:
name: checkfile
execute:
- sudo docker run --rm -w /app -v $PWD:/app ghcr.io/thindil/adacontrol:9 /bin/bash others/check.tcl $1
description: Run AdaControl to check correctness of the selected file. Required argument is the relative path to the file which will be check
flags:
- unixpath